![]() We can also launch 'uiautomatorviewer' manually by double clicking on "Uiautomatorviewer.bat" file in Android SDK tools folder. ![]() When we run the above command, uiautomatorviewer window should open with the default “UI Automator Viewer” window as below Before that we should have set system variable in your PATH as %ANDROID_HOME%\platform-tools %ANDROID_HOME%\tools We have discussed this earlier in Appium Installation We can execute command uiautomatorviewer from terminal window. We can find it in Android SDK “tools” folder with file name 'uiautomatorviewer.bat' on Windows. UI Automator Viewer is a GUI tool that comes with Android SDK which is used to inspect UI components of an Android Application and view the properties associated. In order to identify elements, we use UIAutomatorViewer to capture snapshot of current device screen which shows the hierarchy of the UI components arranged in the screen. Before start writing test scripts, we need to identify elements like id, name, class etc to perform actions.
0 Comments
Leave a Reply. |