Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in RPA by (12.7k points)

I see that the absolute path keeps on changing.

1) //div[@id='details']/div[2]/div[2]/div1/div[2]/dl[8]/dd1

2) //div[@id='details']/div[2]/div[2]/div1/div[2]/dl[7]/dd1

Need your help in writing the relative expression in place of the absolute expression.

This is for using with Automation Anywhere for automating a website.

1 Answer

0 votes
by (29.5k points)

HI, please try the following

//dl[dt/text()='Email Address']/dd

This essentially corresponds to:
Find a dl element that has a direct child
dt element with text 'Email Address'
Find a direct child element dd under the dl element
You can then use it in Object Cloning.

Related questions

Browse Categories

...