Check if HTML element exist dynamically

rpaccount

Member
Hi all,

/HTML/BODY(1)/sly(1)/DIV(2)/DIV(1)/DIV(1)/DIV(1)/SECTION(1)/DIV(2)/FORM(1)/SECTION(1)/DIV(1)/TABLE(1)/TBODY(1)/TR(1)/TD(2)/TABLE(1)/TBODY(1)/TR(1)/TD(3)

/HTML/BODY(1)/sly(1)/DIV(2)/DIV(1)/DIV(1)/DIV(1)/SECTION(1)/DIV(2)/FORM(1)/SECTION(1)/DIV(1)/TABLE(1)/TBODY(1)/TR(1)/TD(2)/TABLE(1)/TBODY(1)/TR(2)/TD(3)

This is the path of the HTML elements that i've spied.
The number of files is always inconsistent. So i was thinking if i can use the minor changes in the paths of the different elements to check if it exist or not.
But i'm new to Blue prism object. Is there a function that does it in like a loop or something?
Because i can have many files and i don't want to spy it one by one. Because i need to save all these files.

Thanks!
 

sreejith

Member
You can use wait stage to check whether the particular html element exists or not. Thus can give the time out for how along u need to check the existence of that particular element.
 
Top