Pega UI components have randomly generated IDs
In Pega 8.1, the UI components generate IDs randomly for all the input components. However, the same have standard ID names in Pega 7.3.1. As a result, this impacts the Automated Testing scripts and the scripts cannot run the tests on the input components. Hence, the tests fail.
Steps to Reproduce
Run the standard Automated Testing scripts on the applications.
This behavior is as per Pega product design. Due to changes in Pega 8.1, the recorded scripts, on earlier versions, did not work.
Perform the following local-change:
- Use data-test-id to create or record unit scripts for non-reusable rules.
- Use XPath to create or record unit scripts for reusable rules.
0% found this useful