How do I enable and start the UI Automator Viewer tool on my Mobile Center server?
Question ID: 107738
1
0

We have seen where the UI Automator Viewer tool can be used to identify Android Objects. Can you advise how to enable and start up the UI Automator Viewer tool?

Marked as spam
Posted by (Questions: 239, Answers: 31)
Asked on July 19, 2017 7:20 pm
356 views
Answers (1)
1
Private answer

First, you will need to add a couple of environment variables on the Mobile Center server. In the 'System variables' section, you will need to add the following variables:
Variable name - ANDROID_HOME
Variable value - Point it to the android-sdk-windows folder; example follows:
C:Program FilesHPE Mobile Center Serverserverandroid-sdk-windows
Variable name - JAVA_HOME
Variable value - Point it to the jre_ia folder in the Mobile Center Server folder; example follows:
C:Program FilesHPE Mobile Center Serverjre_ia

Next, scroll down the 'System variables' list and locate the 'Path' variable. Once you have located the 'Path' variable, click the 'Edit' button and append the following to the end of the existing path (Be sure to include the semi-colon before %ANDROID_HOME):

;%ANDROID_HOME%;%JAVA_HOME%

Close the Environment Variables and System Properties windows.

Open a command prompt window, and change the directory to the 'tools' folder located within the 'android-sdk-windows' folder; example follows:

cd C:Program FilesHPE Mobile Center Serverserverandroid-sdk-windowstools

Enter the following command and press Enter:
uiautomatorviewer.bat

The UI Automator Viewer tool should open (UI Automator Viewer Displayed below).

Marked as spam
Posted by (Questions: 2, Answers: 300)
Answered on July 19, 2017 7:21 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top