Application Issue in UAT and Production-Element Identifiers

Xpath Issue in UAT and Production-Element Identifiers

Problem:

Process behaves differently in UAT and production with regards to element identifiers

Solution:

If the DOM (document object model) structure of the said application’s website has some similarities on both UAT and Production in that case we can find out common XPath which will work on both the UAT and Production server.

Need to create common XPath on UAT or production by using different methods like start-with, contains, not contains, relative XPath, etc to find out common XPath.

Also, ensure that XPath is a perfect match for both UAT and production environments.

Note: This solution is not applicable if the DOM structure application website is completely different on UAT and Production.


      Links to better reach 

            Bot Store

             EPD