This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
1 / 3
Jul 2016

Can we have Xpath Validator similar to Inspector Tool ?
There are some browser add-ons like Xpath Checker which will help in finding the xpath as well as to check whether that xpath works correctly or not by evaluating the same.

Can we have similar thing in appium in future version as well as in some old versions of appium ?

  • created

    Jul '16
  • last reply

    Mar '17
  • 2

    replies

  • 945

    views

  • 2

    users

This already exists a basic xpath validator in the Appium.app Inspector. Click Locator > enter your xpath > click Search > it highlights the element if found otherwise it throws an error in a popup

It works fine for finding a single, specific element such as:

//UIATableView[1]/UIATableCell[1]/UIAStaticText[1]

or

//UIATableView[1]/UIATableCell[1]/UIAStaticText[@name="Some Text"]

7 months later