Appium locators tool : UIAutomatorViewer

In this article, we will understand how to locate WebElements on mobile devices, for this we will be using UIAutomatorViewer tool.
Before continuing further, please refer Appium setup for windows to get started with. (become easy to get started with)

Navigate to the folder explorer on your local driver, where android SDK is installed
then, open tools folder and double click on uiautomatorviewer.bat

  • Connect your handset to computer,
  • Open the application you want to locate elements (e.g Calculator),
  • click on 2nd button [Device screenshot icon] as shown below
  • Select device and click on OK




Click on each element on the uiautomator screen to get the details on the right hand side [as shown above]

  • Sometimes it’s difficult to keep the application open on mobile screen, so uiautomator gives an option to save or dump the elements.

to do so, click on “Save”, to dump the details so we can use future.
now to open the dumped files, click on “Open” and locate the dumped files. (.png and .uix files)




Content posted is based on learning or working experience,
Share the post with others if find useful,
Any queries?, leave comments or discuss on our, Thanks!

2 Responses

  1. June 7, 2016

    […] locator tool : UIAutomatorViewer. […]

  2. June 12, 2016

    […] native apps (.apk files), we use uiautomatorviewer.bat to identify elements on the […]

Leave a Reply

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