To use an Android mobile device for uploading mobile apps
and recording or running tests, you must configure the mobile test client to connect to
the test workbench.
Before you begin
The mobile test client must
be installed and running on the Android device. For details about
downloading and installing the mobile test client for Android,
see Installing the mobile test client on an Android device.
The mobile device must be on the same network as the computer
that is running the test workbench and
be able to ping that computer. Furthermore, the mobile device must
have a working internet connection (WiFi or cellular) or be tethered
to the test workbench.
You can use an app that tests the connection to a computer.
Note: If you already
have the workbench URL and the QR code up on your screen from when
you installed the mobile test client,
you can skip the first two steps and proceed to Step 3.
Procedure
To add a mobile device to the test workbench:
- In the Test Navigator view, right-click
the Mobile Devices node and select Available Mobile Devices or
click the Display available mobile devices
icon. The Mobile Devices editor
opens.
- In the editor, click the icon
to add a device to the list. A window displays
a list of workbench URLs and a QR code that contains the selected
URL from the list.Note: If the device fails to connect using the first
URL in the list, try one of the alternate URLs.
- On the mobile device or on an emulator, start the mobile
client.
- Complete one of the following steps:
- If the mobile device is equipped with a rear camera,
tap the QR code button and scan the QR code that is displayed
on the test workbench.
This is the same QR code from when you installed the mobile test client. This step is
not applicable to the emulator.
- Tap and type the URL manually.
This step is triggered automatically if no rear camera is detected.
On the first client start, you do not need to tap the QR code
button, or type the workbench address. These actions are executed
automatically.
Results
The name and properties of the device are displayed in the
test workbench, in the
Mobile
Devices editor.