Test Suite Editor

A test suite groups related test cases into logical units for execution and management.

A project can contain multiple test suites, which you can run in sequence or in parallel (see Test Suites).

RAPI_Screenshot_Test_Suite_Editor_Overview.png

Toolbar

Use the toolbar to run, stop, and manage test execution, and to access common actions for the selected item.

The following table describes the available toolbar controls and their functions:

Table 59. Toolbar controls

Control

Description

Run the selected test suites.

Debug Groovy Script steps in this project.

Stop the test run.

RAPI_Icon_Run_Test_Cases_In_Sequence.png

Run test suites in sequence.

RAPI_Icon_Run_Test_Cases_In_Parallel.png

Run test suites in parallel.

Select contained test cases to run with performance tests.

RAPI_Icon_Report.png

Create a report for this item.

Show online help.

Passed, Failed, Not executed, Running

Status.



Test Cases Page

Manage test cases

Use the Test Cases page to create, organize, and manage test cases within your project. To learn more, see Managing Test Cases.

The Test Cases page gives you an overview of the contained test cases and their run status. It allows you to add, remove, or modify test cases, as well as assign tags and use them to filter test cases for a test run. For more info, see Working with Tags.

The following actions are available for managing test cases:

Table 60. Manage test case actions

Action

Description

Adds a new test case.

Removes the selected test case.

Assigns tags to the selected test cases.



Configure test suite settings

Use the project settings panel to define test suite-level configuration, including descriptions, scripts, and tags.

The following tabs let you configure different aspects of the test suite:

Table 61. Project setting tabs

Tab

Description

Description

Enter test suite description.

Properties

Manage the list of test suite properties. See the Test Suite Properties section.

Setup Script

Runs at the start of the test suite execution. To learn more, see Setup, TearDown, and Report Scripts.

TearDown Script

Runs after the test suite execution completes. To learn more, see Setup, TearDown, and Report Scripts.

Report Script

Specify a script that is run when you generate a report. To learn more, see Script Extensions.

Report Parameters

Manage the list of parameters used for the report creation. To learn more, see Script Extensions.



Other Editor Pages

You can navigate to related pages to view test results, compare runs, and analyze coverage.

Use the following links to access additional editor pages:

Table 62. Other editor pages

Page

Learn more

Transaction Log

Transaction Log Page

Compare

Compare Page

History

Test History Page

Coverage

Coverage Testing



Test Suite Properties

Besides editor panels, you can adjust test case behavior by using its properties in the Test Suite Properties tab in the Navigator.

Test Suite Properties

Table 63. Test Suite Properties

Property

Description

Name

The name of the test suite.

Important

Special characters in the name, including (but not limited to) &, -, /, (, and ), may cause issues with reporting.



Custom Test Suite Properties

Custom Test Suite Properties tab in the Navigator and the Properties panel in the Test Suite Editor, you can create any number of properties. These properties are available to child test cases and other test suites in your project. To manage the property list, use the toolbar:

Table 64. Custom Test Suite Properties

Property

Description

Create a new property.

Move a property up.

Move a property down.

Sort properties in alphabetical order.

RAPI_Icon_Clear_Property_Value.png

Clear property values.

RAPI_Icon_Load_Properties_from_File.png

Load properties from a file.

RAPI_Icon_Save_Property_List_to_File.png

Save the property list to a file.

Remove the selected property.

RAPI_Icon_Store_Locally.png

Store value locally (exclude from saved project).



Custom test suite properties can be stored locally in your workspace file by selecting the checkbox on the right. To learn more, see Locally Stored Properties .

Work With Tags

Tags help you group test cases within a test suite. You can run only the tests containing tagged test cases. Also, you can exclude test cases with specific tags from the test run. Tags are always alphanumeric.

You can edit all tags in the project from the Tags tab in the Project editor.

Add Tags

  1. In the Navigator, click Test Suite.

  2. Select the test case.

  3. From the Assign Tags dropdown, select an existing tag or assign a new one by typing the name. Press Enter.

    Test Case Editor showing the Assign Tags control used to apply tags to the selected test case.

    The specified tag is added to the selected test case.

Remove Tags

  1. In the Navigator, click Test Suite.

  2. Select the test case.

  3. From the Assign Tags dropdown, clear the selected tag. Press Enter.

    The selected tag is removed from the test case.

Focus Test Run on Desired Test Cases

  1. Open the list of selected tags.

  2. To include the tagged test cases to the test run and exclude others, select Show from the Show/Hide drop-down menu.

  3. Select a filtering rule:

    • Select All tags to show test cases only with all the selected tags. For example, if you select tag1 and tag2, ReadyAPI will only show test cases that contain both tag1 and tag2.

    • Select At least one to show test cases with any of the selected tags. For example, if you select tag1 and tag2, ReadyAPI will show test cases that contain either tag1, tag2, or both.

  4. Select the tags you need.

Show test cases

Exclude Specific Test Cases from Test Run

  1. Open the list of selected tags.

  2. To exclude the test cases from the test run, select Hide from the Show/Hide drop-down menu.

  3. Select a filtering rule:

    • Select All tags to show test cases only with all the selected tags. For example, if you select tag1 and tag2, ReadyAPI will hide only test cases that contain both tag1 and tag2.

    • Select At least one to show test cases only with any of the selected tags. For example, if you select tag1 and tag2, ReadyAPI will hide test cases that contain either tag1, tag2, or both.

  4. Select the tags you need.

Hide test cases

See Also

Publication date: