Installing the mobile test client for Android with adb

On some mobile devices, it might not be possible to install the Android IBM® Rational® Test Workbench Mobile Client by downloading the installer. This topic describes an alternative installation method that uses a USB connection and the adb tool that is provided with the Android SDK.

About this task

For the typical method of installing the mobile test client, see Installing the mobile test client on an Android device.

Procedure

To install the mobile test client with adb.

  1. Enable USB debugging on the mobile device:
    • On Android 3.2 and earlier versions, tap Settings > Applications > Development and select USB Debugging.
    • On Android 4.0 and 4.1, tap Settings > Developer options and select USB Debugging.
    • On Android 4.2 and later, tap Settings > About phone and tap Build number seven times. Then, return to the previous screen, tap Developer options and select USB Debugging.
  2. Connect the Android device with a USB cable to the computer that is running the IBM Rational Test Workbench Mobile Test Edition. Some mobile devices might require a specific USB driver. If necessary, go to the web site of the device vendor to download and install the USB driver for the device.
  3. In the test workbench, click File > New > Device. The Add New Device wizard shows the Workbench URL.
  4. Open a web browser, type the Workbench URL, and download the mobile test client.
  5. Copy com.ibm.rational.test.mobile.android.client.ui-release.apk to a temporary folder. For example, C:\tmp.
  6. Open a command prompt window and point to the Android SDK directory that typically is C:\Users\Administrator\AppData\Local\Android\android-sdk\platform-tools.
  7. Type the following commands:

    adb connect <IP address of workbench computer>

    adb install <temporary folder>/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