Locating elements in Appium (Part a)

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

One comment

Leave a Reply

Your email address will not be published. Required fields are marked *