Skip to main content
Question

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?

  • October 20, 2022
  • 2 replies
  • 82 views

Forum|alt.badge.img+2
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?

2 replies

Forum|alt.badge.img+17
  • Most Valuable Pathfinder
  • October 20, 2022

"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.


Ashwin A.K
Forum|alt.badge.img+10
  • Navigator | Tier 3
  • October 24, 2022

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