Running Tests
After recording a test, Preflight runs it automatically. However, you can run any or all tests on-demand and define which settings to use to run them.
This topic describes how to:
- Run a single test
- Run selected tests
- Run all tests
- Run tests with custom settings
- Run tests with global defaults
- Run a failed test
Running a Single Test
By default, tests are run using global defaults, and any settings you have defined on a per test basis.
To Run a Single Test with Default and Test Settings
- In the Navigation bar, select Tests.
- Locate your test in the All Tests page or by opening a group from the Groups menu.
- Hover over the three dots on the right of the test and click Run Test. The test is run with the settings defined for this test.
Running Selected Tests
By default, tests are run using global defaults, and any settings you have defined on a per test basis.
To Run Selected Tests with Default and Test Settings
- In the Navigation bar, select Tests.
- Locate your tests in the All Tests page or by opening a group from the Groups menu.
- Select the checkboxes next to the tests you want to run.
- Click Run Selected Tests. The tests are run with the settings defined for those tests.
Running All Tests
By default, tests are run using global defaults, and any settings you have defined on a per test basis.
To Run All Tests with Default and Test Settings
- In the Navigation bar, select Tests.
- Either remain in the All Tests page or run all tests in a group by opening it from the Groups menu.
- Click Run All/Group Tests. The tests are run with the settings defined for those tests.
Running Tests with Custom Settings
By default, tests are run using global defaults, and any settings you have defined on a per test basis. You can run tests for one run only with different settings for the environment and run mode. This does not permanently override the global defaults or the tests' settings.
To Run Tests with Custom Settings
- In the Navigation bar, select Tests.
- Locate your test(s) in the All Tests page or by opening a group from the Groups menu.
- Select the checkboxes next to the tests you want to run, or don't select any tests to run all tests.
- Click the arrow next to RunAll/Selected Tests and select Run All/Selected Tests with Custom Settings.
A pop-up appears showing the available settings that can be defined for this run only. -
Define the following fields:
-
Environment - the default is to use the test's environment, but you can select a different environment from the list.
-
Run mode - choose between Normal mode which records all screen shotsa and Quick which runs the test without recording screen shots, to run the test in less time.
-
- Click Run All/Selected Tests Now to run the tests with the selected settings.
Running Tests with Global Defaults
By default, tests are run using global defaults, and any settings you have defined on a per test basis. You can run tests for one run only with only the global defaults, thus overriding any settings that were defined for a particular test. This does not permanantly override the tests' settings.
To Run Tests with Global Defaults Only
- In the Navigation bar, select Tests.
- Locate your test(s) in the All Tests page or by opening a group from the Groups menu.
- Select the checkboxes next to the tests you want to run, or don't select any tests to run all tests.
- Click the arrow next to Run /All Selected Tests and select Run All/Selected Tests with Global Defaults.
- Click Confirm.
Running Failed Tests
To Run Failed Tests
- In the Navigation bar, select Tests.
- Click the Run Activity tab. A list of test results appears, displayed in chronological order, with the last run test displayed first.
- Locate a test that has failed and click on it to open it. You can use the Status column to sort the list according to status.
- Click Run Failed Tests.
- Click Confirm. The test(s) are run.
Related topics
Defining Global Testing Defaults