Running compound tests

You can run a compound test that is configured in the UI Test perspective. The test elements are run in the order that is defined in the compound test.

About this task

When you run a compound test, you are prompted to open the Test Execution perspective, in which details of the test run are displayed. When the test run is complete, the Test Log displays the run results. For details about running a compound test that contains Web UI tests on multiple browsers simultaneously, see Running a Web UI test.

Prior to 9.2, text execution would terminate on a fatal exception in any of the tests in a compound test. Starting from 9.2, there is a new preference to allow text execution for a compound test to continue after a fatal exception in one of the tests. To set the preference, see Window > Preferences > Test > Test Execution > Error handling > UI Fatal Error.

Procedure

  1. In the Test Navigator, select the compound test to run.
  2. Click the Run Run icon on the toolbar or click Run Compound Test in the test editor window.
    The Confirm Perspective Switch dialog is opened, prompting you to switch to the Test Execution perspective.
  3. Click Switch.
    The Test Execution perspective is opened and the Run Configuration dialog is displayed.
  4. Select the run configuration options as required for the test run.
  5. Click Finish.
    The test runs. On completion, the unified report is displayed.

Results

You have run a compound test that is configured in the UI Test perspective.

What to do next

You can work with the test log by exporting it into a flat file. See Generating compound test result reports.