Setting or changing the ANDROID_HOME path in Linux 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 Linux.
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.
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.service) 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 the Linux operating systems.
What to do next
You can play back the recorded tests by using the UI Test agent on computers that run on Linux.