How to Run a Group of Tests

Applies to TestComplete 15.70, last modified on December 17, 2024

In a specific order

It may be useful to run tests one after another. For example, the first test will initialize the tested application, the second one will check data loading, the third one will test the dialogs that modify the loaded data, and so on. A complete sequence will make up a comprehensive test of the application.

To specify a sequence of tests, you can do any of the following:

Grouped by criteria

You can assign tags to your script and keyword tests, as well as to BDD scenarios to organize them by various criteria, for example, by testing environments, tested applications or components. To run tests that match a tag or several tags, you can do one of the following:

  • In the Execution Plan editor of your project, create a test item and assign a tag or a tag expression to it.

  • In a keyword test, use the Run Test operation to run tests that match a tag or a tag expression.

Note: TestComplete will execute such tests in an arbitrary order. If the test run order matters, specify the test sequence as described above.

See Also

Tests, Test Items, and Test Cases
How to Create or Delete a Script Routine
About Script Tests
Keyword Tests

Highlight search results