Posted: 11 Jun 2020 11:07 EDT Last activity: 17 Jul 2020 12:28 EDT
We are upgrading to 8.4 ver. The selenium automation test scripts that were working in pega 7 are not working in pega 8.4. Looks like the id for most of the elements have been changed. Is this something configurable in pega so we can retail the same as it was in pega 7?
***Edited by Moderator Kayla to change type fromGeneral to Product, update Product details and platform capability tags****
Unfortunately no, selenium works on the webelements which is located in DOM structure, due to version change there might be high possibility that the locators values has been changed and your scripts will fail.
You can ask your development team to provide unique Test ID for each rule in pega which results as a form of data-test-id in DOM structure. You also need to check about the iframes.
I have seen personally that iframes matters a lot. If you are upgraded to cosmos UI then you need not to worry about switching to frames as cosmos UI has a single page doesn't contains any frames in it.