SEMrush

UI Automator Viewer : Locate Elements in Mobile apk testing


Find android application element details using UI Automator Viewer



Let's see how to find element details of android application using Android “UI Automator Viewer”. Following are the steps:
1. Open the android application on the emulator or real device. I have opened the below app on the emulator.



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



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