Installing and configuring the Android client with the USB Controller
One way to install and configure the Android mobile test client is to use a
USB cable and the USB Controller. This method handles both installation
and configuration and also works in secure environments that do not
have WiFi access.
Before you begin
- Download and install adb, which is part of Android SDK Tools, on the computer running the test workbench. The current download page is at Android Studio but the location could change in the future. You do not need to install the full Android Studio. Just navigate to the SDK Tools Only section under Other Download Options to obtain the installer. Make sure your device is correctly setup for adb by executing the adb devices command.
- If necessary, download and install the specific USB driver for your device at http://developer.android.com/tools/extras/oem-usb.html or the web site of the device vendor.
- Verify that release 6 or later of a JDK or JRE is installed.
- For Android 6 devices that are connected to the computer running HCL OneTest™ UI with a USB cable, open on the device and deselect Verify apps over USB. Otherwise, a conformation dialog opens each time the mobile test client or an application under test (AUT) is installed.
It is also possible to use the USB Controller to install the Android mobile test client in environments where the test workbench is remote. For details, see Installing and configuring the Android client when HCL OneTest UI is remote.
For further details about the USB Controller, see USB Controller.
About this task
The USB controller is a java process that runs in the system tray when the test workbench starts and exits when the workbench closes. The USB Controller uses adb to monitor device connections and the state of Android emulators. The USB Controller enables the Android silent mode feature which allows full automation of test playback.