Road to find android application element details using UI Automator Viewer

In this post I will show you how to find element details of android application using Android “UI Automator Viewer”. Following are the steps:
1. Open android application on emulator or real device. Like I have opened below app on emulator.

2. Go to “tools” folder in your installed Android SDK folder.
3. Click on uiautomatorviewer.bat file you screen should be open below screen.

4. Click on Icon as marked on above screen, your opened application display in UI Automator Viewer like below screen. Move your mouse on element at left panel, you should see element details will show on right panel.


  1. Thaks for this post actually i am searching for this kind of information from last 2 weeks..

  2. Hi,

    Can you please provide more scenarios where we need to wait for the page to load, and where we dont have id, but just text.
    And when we have multiple text content with same data,(need to refer first or second etc)


Leave your comments, queries, suggestion I will try to provide solution