Creating a compound test
You can create a compound test to organize smaller tests into scenarios that can be run simultaneously or sequentially. You can combine various tests to speed up and minimize the test effort.
Before you begin
- Web UI tests, see Recording a Web UI test.
- Android mobile tests, see Recording mobile tests for Android applications.
- iOS mobile tests, see Recording mobile tests for iOS applications.
- Sap tests, see Recording an SAP test.
- Windows test, see Recording a Windows test.
Procedure
- Open the UI Test perspective in Rational® Functional Tester, if it is not already open.
- Perform any of the following actions:
-
Go to
.
The New Compound Test window is displayed.
You must perform the following steps:
- Click the Create the parent folder icon.
The New Project pane is displayed.
- Enter a name for the project in the project name field.
By default, the test is saved in the workspace location.
Note: If you want, you can select a different location to save the project.Clear the Use default location option, and then click Browse to select a location to save the test.
- Click Next, and then select the types of assets you need in your project.
- Click Finish.
A new project is created.
- Enter a name for the test in the File name field.
- Click Finish.Note: The file extension testsuite is added to the file name and the compound test is created under Compound Tests folder of the new project.
To add the individual tests to the compound tests, go to step 5.
- Click the Create the parent folder icon.
-
Right click on the project from the Test Navigator pane and
perform the following actions.
- Go to
The New Compound Test pane is displayed.
. - Enter a file name for the test, and then click Finish.
- Click Finish.Note:
The file extension testsuite is added to the file name and the compound test is created under Compound Tests folder of the selected project.
To add individual tests to Compound Tests folder, go to step 5.
- Go to
-
Click Add in the Compound Test window, and
then select Test.
The Select Tests window is displayed with all the projects in workspace.
- Select the tests.
-
Click OK.
The tests are added to the compound test.
- Go to , to save the compound test.