Running or scheduling the running of a test
You initiate a test execution in the Test Factory, but the test is run in the Test Lab perspective. After you start a test, the Test Lab perspective is displayed, from where you monitor the tests execution. A test can be run either in the current environment or in any other environment.
Note:
For the tests that pass, you can avoid storing the messages that are sent and received
during the test execution in memory. To do this, open the Properties page
in the Test editor and select the Free up memory associated with messages sent and
received when test execution passes option. If a Test Cycle is used to store the
tests in a database, the messages of the passed tests can still be viewed in the Results
Gallery.
Running tests in the current environment
Depending on the current Run Resources preferences, the test is run from its current state (including any unsaved changes) or from its last saved state.
A test can be run in any of the following ways:
- Select one or more tests, and press F5.
- Right-click one or more tests, and select Run from the menu.
- Select one or more tests, and click the Run icon in the main Test Integrations and APIs toolbar.
- If the test was run recently, click the small arrow next to the Run icon in the main toolbar and select the test to run.
Scheduling the running of a test
To run a test in an environment other than the current environment, or to schedule the running of the test, use the custom execution dialog.