Author |
Message |
25/09/2019 09:55:34
|
afahrmann
Active
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
|
Filename |
generatedHtml.png |
Download
|
Description |
generated HTML |
Filesize |
33 Kbytes
|
Downloaded: |
245 time(s) |
|
Filename |
ourCode.png |
Download
|
Description |
our Code |
Filesize |
3 Kbytes
|
Downloaded: |
251 time(s) |
|
|
|
25/09/2019 10:19:59
|
CaptainCasa
Power User
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 |
|
|
25/09/2019 11:08:58
|
afahrmann
Active
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
|
|
|
|