It is often useful to run several tests one after another. For instance, the first action can test the initialization of your application, the second one can test data loading, the third action can test dialogs that change data, and so on. A combination of these tests provide a comprehensive test of the application.
So, grouping test actions makes testing more convenient for changes and places the tests in order. Keyword tests and scripts support grouping for their items. To run a group of tests, you can use any of the following approaches:
- Open the Test Items page of the Project editor and add the desired items to it. See Tests, Test Items, and Test Cases.
- To group tests (script routines, low-level procedures and so on) in a keyword test, add the required operations to the test and specify their parameters. You can run different kinds of tests from keyword test, using the Run Keyword Test, Run Script Routine or Run Test operations. See Creating and Recording Keyword Tests.
- To group script routines, write a combination script in the Code Editor. Each script is a procedure written in a definite script language. To write one script that calls others in a certain order, create a new script in the Code Editor and write it as a series of calls to the wanted scripts (that is, routines). See How to Create or Delete a Script Routine.
See Also
Tests, Test Items, and Test Cases
How to Create or Delete a Script Routine
Writing Scripts - Overview
Keyword Tests