How to use custom XPATHs

  • 1 Replies
  • 509 Views
*

sadik

  • *
  • 12
How to use custom XPATHs
« on: August 07, 2018, 17:07:48 pm »
I have not using other mirror tools, parallel i launched when getting black screen so I can show you screen.

Today I will rest again and will check.

One more question, how I get element details using SDK, while navigating I noticed that I can see xpath or Id ( if present ). if I need our own xpath then we need to modify default xpath, in that case we need element detail.

Thanks
 Sadik

Re: How to use custom XPATHs
« Reply #1 on: August 07, 2018, 17:11:57 pm »
You do not necessarily have to use the XPATH as it is displayed in the TestProject Recorder, you can always build one of your own.
The XPATH displayed in the TestProject Recorder is a hierarchical XPATH, e.g.
Code
//div/span/a
but you can always build your own, e.g.
Code
//div[@role='buton']//a

 

Sitemap 1 2 3 4 5 6 7 8