Run a test in command line mode. For details about running a test or schedule in command line
mode, see Running a
test or schedule from the command line. If you want to automate tests of mobile web applications, you must ensure that the Mobile Web
Recorder is installed on the mobile test client. If the mobile test client is set up to run silent mode with the USB Controller,
the Mobile Web Recorder will be installed automatically when the test run starts. No user action is
required. However, if silent install is not set up, you must install the Mobile Web Recorder by
tapping Manage Web Applications once in the mobile test client. This will initiate the installation of the two
required apks and fulfill the requirements for automated test playback of a web app.
If your automated testing requires the test workbench to be
stopped and re-started, you can enable the Do not quit when workbench exits
setting in the USB Controller to keep the USB Controller running even after the test workbench is closed. For details, see USB Controller.
By default, the test workbench selects the first connected
device that best fits the test execution requirements (Android OS and Android API). To run the test
on one or more specific devices, define the Device ID selection variable. To find the Device ID,
open the Mobile Devices editor in the test workbench, select a
device, and look for the ID in Detailed Properties.
You can also use a variable to select a specific device. For details, see Defining a variable to run a test with a selected mobile device.
All test scripts are linked to a specific version of the AUT. If you upload a new version of the
AUT, you should always run the test on the newest version of the AUT. For details, see Defining a variable in a test to run the latest version of an application.
Note: If you have set the preference related to automatic refactoring of tests when a new
application version is added, you do not need to define such a variable.