cancel
Showing results for 
Search instead for 
Did you mean: 

HTML Path changes

StephanieStrydo
Level 5
Hi, I noticed that elements on my browser app keeps changing as follows, while I am developing (during different runs). I can't pinpoint why they change - the developer next to me seems to think its the browser that changes the html. 

/HTML[1]/BODY[1]/DIV[4]/........ 
/HTML[1]/BODY[1]/DIV[5]/........

As this is so high-up in the path, it impacts several elements. The whole process hinges on HTML paths. 

Any ideas why its changing? 






2 REPLIES 2

SteveBoggs
Staff
Staff
Hi Stephanie,

Certain webpages/webapps utilize dynamic HTML paths for elements that can change each time a page is accessed. In these scenarios, it's possible for Blue Prism to use dynamic paths (or X-Paths) to find the same elements despite the HTML paths changing. More information on this can be found in this Knowledge Base article (and related links at the bottom), along with the Browser Automation Guide available in the Blue Prism University.

StephanieStrydo
Level 5
Thanks @Steve Boggs I will read through the content. Do you mean that I should just mark the XPath as dynamic, then it will find either of the options? Do have to send any variable to the element or do I leave it blank?​