[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Locators of password fields changed  XML
Forum Index -> Development
Author Message
afahrmann

Active
[Avatar]

Joined: 08/10/2014 08:29:06
Messages: 7
Offline

Hi Captain,

after upgrading from version "20190416" to "20190902" we observed, that in the generated HTML files the attribute "data-riscclientname" has changed its value for password fields.

In the past the value had been for example "login_password_16_field", now there is sometimes an addtional second "_field" suffix and its value is "login_password_16_field_field". (Please look into the attached images for a complete example.)

Our QA appartment has huge problems because of that. They rely on the value of this attribute within their Selenium tests. Allmost all test cases are currently failing because of this problem. It's a lot of work for them to adapt the automated tests.

Is this a bug? If yes, when will it be removed?

In the future please pay attention to the generated value of that attribute. It should only change very seldom on new CaptainCasa versions. Better would be no change at all!

Kind regards,
Andreas
[Thumb - generatedHtml.png]
 Filename generatedHtml.png [Disk] Download
 Description generated HTML
 Filesize 33 Kbytes
 Downloaded:  245 time(s)

[Thumb - ourCode.png]
 Filename ourCode.png [Disk] Download
 Description our Code
 Filesize 3 Kbytes
 Downloaded:  251 time(s)

CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5527
Offline

Hi Andreas,

thanks for your message! We try to be as stable as possible with changes on CLIENTNAME (same thing with CSS definitions...).

To be honest: we missed this issue when re-structuring the PASSWORD-field (there is now the possibility to view the password input via some icon on the right...). We will pay specific attention to this issue with future changes!

I would have to ask you to do the change in your scripts + hope that there is some central way to replace on your side. Sorry for this inconvenience. (I checked the construction of the CLIENTNAME sub-parts in the control, and would love to not change this...)

Regards, Björn

PS: it's good to know, that you are a Selenium-CaptainCasa-user - I did not know so far...

Björn Müller, CaptainCasa GmbH
afahrmann

Active
[Avatar]

Joined: 08/10/2014 08:29:06
Messages: 7
Offline

Hi Björn,

thank you for your quick answer!

The QA department is about to adapt the test cases. Thanks for paying attention to this issue in the future!

Regards,
Andreas
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team