sudam_evonsys
11 months agoOccasional Contributor
Execute same keyword test script for different environments
Hi All,
I'm working on a product that was developed with Pega and facing an issue when trying to execute the same script for a different environment (both environments have the same version of the product). Initially, I created a keyword test on the UAT environment and Now, I'm unable to run the same script for the INT environment as it is unable to locate the elements.
Then I created the same script for the INT environment and realized it maintained different name mapping locators for the INT environment. (It has the same XPath)
Can someone help avoid this and run these same scripts for different environments?
Note: I have added a sample locator which is duplicated due to environment difference.