-
Waylon
10
posts
Member since:
May 2011
Posted 06 Jun 2011
Link to this post
Hi Team,
Do we support the relative path of xpath instead of absolute path?
Because absolute path not stable enough, page's small change will cause case failed, so I'd like to use relative path, seem I putted the relative path, the element can not be found.
Absolute path: /html[1]/body[1]/div[10]/div[2]/div[1]/div[3]/div[1]/div[1]/ul[1]/li[1]/a[1]
Relative path: //div[@id='nameplate-header']/div[1]/ul/li[1]/a
Thanks
Waylon
-
-
Waylon
10
posts
Member since:
May 2011
Posted 09 Jun 2011
Link to this post
I have found the way to solve this problem via Telerik, thanks
-
-
Michael
2
posts
Member since:
Aug 2011
Posted 21 Oct 2011
Link to this post
Can you share your solution to the relative path issue. Thanks
-
-
Keith Hill
2
posts
Member since:
Aug 2009
-