Installing the Android client on an Android emulator

If the Android device is running on a virtual machine or on the emulator provided by the Android SDK, you can install the mobile test client either by downloading it or using the adb tool.

About this task

For the typical method of installing the mobile test client, see Installing the Android client manually.

Procedure

To install the mobile test client on an emulator:

  1. In HCL OneTest™ UI, click File > New > Device. The Add New Device wizard shows the Workbench URL.
  2. Complete one of the following steps:
    1. Download the mobile test client on the emulator.
      1. In the emulator, open a web browser and enter the Workbench URL.
      2. Click the link to download the mobile test client.
      3. On the apps page of the emulator, click Downloads, click com.ibm.rational.test.mobile.android.client.ui-release.apk, and then click Install.
      Note: If you see the message Unfortunately the Browser Stopped Working when trying to download the client from the Android emulator browser, go to Settings > Apps > Browser > Permissions and enable Storage permission for the Browser app. If you are still having issues, ensure you have given the emulator enough disk space.
    2. Use the adb tool to install mobile test client.
      1. On the computer, open a web browser and enter the Workbench URL.
      2. Click the link to download the mobile test client.
      3. Copy com.ibm.rational.test.mobile.android.client.ui-release.apk to a temporary folder. For example, copy the file to C:\tmp.
      4. Open a command line window and point to the Android SDK directory. The default path to the directory is C:\Users\admin_name\AppData\Local\Android\android-sdk\platform-tools
      5. Type the following command:

        adb -e install temporary_folder\com.ibm.rational.test.mobile.android.client.ui-release.apk

  3. To install on a virtual machine, open a command line window and type the following commands:

    cd <temporary folder>

    adb connect <IP address of the virtual machine>

    adb -r install com.ibm.rational.test.mobile.android.client.ui-release.apk

What to do next

After installing the mobile test client, configure and connect the device to the test workbench. See Configuring the mobile test client for Android.
Feedback