Running tests from the test workbench

After generating a test from a recording, you can edit the test according to your requirements and initiate a test run from the test workbench. The test actually runs on the mobile test client (mobile device or emulator/simulator). This means that the playback is controlled from the test workbench. The test results can be viewed from both the test workbench and the mobile test client.

Before you begin

Note: If your test contains datapools, it will be controlled by the workbench.

About this task

If you have not installed the mobile test client through the silent mode and recorded a native or hybrid app from the mobile test client, you must run the test from the mobile test client before running it from test workbench.

Procedure

  1. From the test workbench, you can initiate the running of a mobile test by using any of the following steps in the Test Workbench perspective:
    • In the Test Navigator view, right-click a test and click Run As > Test.
    • From the Test Navigator view, open the test and, in the test editor, click the Run Test button.
    • Add the mobile test to the Compound Test editor.
  2. A wizard displays the list of available devices. Select the device on which the test will be run. You can run the test on multiple devices. For more details, see Running tests on multiple devices in parallel. Click Next.
  3. The first time you run a test, you will be prompted to run the test from the Test Execution perspective. Select the Remember my decision check box to avoid receiving the message again and click Yes.

Results

The test is played back on the mobile device. Do not interact with the mobile device until the test is complete. If you need to stop the test run, click the Stop test button in the toolbar of the test workbench, for details on the Stop Test Run wizard, see Interrupting a run .

After the run, both Statistical (Performance) and Mobile (Live) reports are displayed.

What to do next

You can now evaluate the test results. See Evaluate results.

Feedback