Setting or changing the ANDROID_HOME path in Mac operating systems
When you want to run or play back recorded mobile tests by using the UI Test agent in IBM® Rational® Functional Tester, you must ensure that the ANDROID_HOME path is set correctly in computers that run on Mac operating systems.
About this task
You must set up the ANDROID_HOME path as an environment variable, if you use the UI Test agent to playback recorded mobile tests for Android applications.
You must set up the environment variable on all computers from which you want to run
mobile tests for Android applications.
Note: If you encounter
errors about the Android sdk path not found when you attempt to play back mobile
tests for Android applications on Windows, you might want to check if the value
of the ANDROID_HOME environment variable is set correctly
or change the value to point to the correct path.
Procedure
-
Go to <install_Dir>/UITestAgent directory and stop the
UI Test agent service by running the following command:
sudo ./UITestAgent.sh stop
-
Modify UI Test agent service (ui.test.agent.plist) by
performing the following steps:
-
Run the following command:
sudo ./UIAgentSetup.sh
Results
You have set or changed the path to the ANDROID_HOME environment variable in Mac operating systems.
What to do next
You can play back the recorded tests by using the UI Test agent on computers that run on Mac operating systems.