In ReadyAPI, your work is organized into projects, which are displayed under the root node in the workspace Navigator. A project can contain any number of functional tests, load tests, and service simulations required for your testing purposes.
Click the image to enlarge it.
Test suites page
The main purpose of the Test Suites page is managing test suites:
|
Adds a new test suite. |
|
Removes the selected test suite. |
|
Assigns tags to the selected test suites. |
Besides that, panels of the page allow you to modify various project aspects:
-
Description – Specify the text description of the test case.
-
Setup Script – Specify a script that is run at the start of a project run. To learn more, see Setup, TearDown, and Report Scripts.
-
TearDown Script – Specify a script that is run when the project run finishes. To learn more, see Setup, TearDown, and Report Scripts.
-
Tags – Manage the list of tags used in the project. See the Tags Panel section below.
Other editor pages
Use tags to group test suites within a project. In particular, this can be used to run only a group of test suites associated with the specific tag or exclude these suites from the test run.
Tip: |
Tags are always alphanumeric. |
You can edit all tags in the project from the Tags panel.
Add tags
-
Select the test suite.
-
Click on the toolbar.
-
Specify the name of the tag and press Enter. The specified tag will be added to the selected test case.
Click the image to enlarge it.
Remove tags
-
Select the test suite.
-
Click on the toolbar.
-
Remove the selection of the tags you do not need. These tags will be removed from the selected test suite.
Click the image to enlarge it.
Focus test run on desired test cases
-
Open the list of selected tags.
-
To include the tagged test suites to the test run and exclude others, select Show from the Show/Hide drop-down menu.
-
Select a filtering rule:
-
Select All tags to show test suites only with all the selected tags. For example, if you select tag1 and tag2, ReadyAPI will only show test suites that contain both tag1 and tag2.
-
Select At least one to show test suites with any of the selected tags. For example, if you select tag1 and tag2, ReadyAPI will show test suites that contain either tag1, tag2, or both.
-
Select the tags you need.
Click the image to enlarge it.
Exclude specific test suites from test run
-
Open the list of selected tags.
-
To exclude the test suites from the test run, select Hide from the Show/Hide drop-down menu.
-
Select a filtering rule:
-
Select All tags to show test suites only with all the selected tags. For example, if you select tag1 and tag2, ReadyAPI will hide only test suites that contain both tag1 and tag2.
-
Select At least one to show test suites with any of the selected tags. For example, if you select tag1 and tag2, ReadyAPI will hide test suites that contain either tag1, tag2, or both.
-
Select the tags you need.
Click the image to enlarge it.
You can manage all tags in the project from the Tags panel. The table lists all tags and the number of test suites and test cases each tag is assigned to. You assign tags to specific test suites on the Test Suites page of the Projects editor, or to specific test cases on the Test Cases page of the Test Suite editor. See above to learn how to assign tags to test suites and Test Suite Editor to learn how to assign tags to test cases.
Click the image to enlarge it.
To add a tag, click on the toolbar and specify the name of the new tag and click OK.
Note: |
The newly created tag is not assigned to any test suite or test case. You have to assign it manually. |
To delete a tag, select the tag and click on the toolbar. ReadyAPI will unassign the tag from all test suites and test cases and remove it.
To rename a tag, double-click the tag name and enter a new name.
To sort the table, click the header of the column you want to sort the table by. The first click sorts the table in ascending order, the second click sorts in descending order.
See Also
Project Settings
Project Properties
Test Suites