Skip to main content
i'm giving support to some bots, some times dom xpaths are changing in portal and bot is running fine QA but it is not running in Prod, any suggestions?

"Not running fine" doesn't tell us anything. Please explain better - are you getting errors, is it just not finding the elements, etc. etc.? Help us help you.


Hi @pamidi pavankumar​ ,

 

To build robust Web Automation with Automation 360, you have to learn to create proper XPaths.

The DOMXpath that the recorder captures is not always a 100% accurate and often times requires a bit of tweaking every now and then.

 

Here is a tutorial that covers XPaths indepth.

Also, if the paths are always subject to massive changes that even your XPaths can't resolve, then I'd recommend adding those DOMXpaths in the Configuration file.

 

This way you won't have to open the bot each time - just update the DOMXpath in the configuration file and you are good to go.

 

Kind Regards,

Ashwin A.K


Reply