appium - How to create Xpath with the help of UIAutomator for android App? -



appium - How to create Xpath with the help of UIAutomator for android App? -

how create xpath help of uiautomator android app?

link guide helpful. uiautomator not gives xpath. want know steps create xpath.

you can access elements form id in r.class. example:

edittext edittext = (edittext) getsolo().getview(r.id.note);

you can find in uiautomator @ resource-id column. can click on elements text , etc.

if testing web app, can emulate view in chrome , x-path there. go developer tools -> emulation , select device , agent need.

i using robotium framework

and if don`t know how build xpath, here tutorial http://www.w3schools.com/xpath/

android appium

Comments