As we all know that Appium has extended Selenium WebDriver API, the locators in appium is much like Selenium with some additional methods to identify the elements.
The most awesome part of Appium is, the same methods works for
Native*
Hybrid*
Web*
Different Appium locators – Native
Appium locates elements with different properties like
Accessibility ID (formerly Name property does the same job)
Tag Name (replaced to class name)
Class Name (should be specified as fully qualified name like android.widget.Button)
Xpath
ID
Here is the complete video of the above discussion
Thanks for reading the post and watching the video !!!
Please leave your comments and let me know if there is anything I should update in this post.
Thanks,
Karthik KK
Post Author:
Karthik kk
One Reply to “Locating elements in Appium (Part a)”
could you plse help me in ,how to write xpath using appium,,,,,,,,,,
could you plse help me in ,how to write xpath using appium,,,,,,,,,,