Create a reusable test
Create a reusable test to avoid redundancy, ensuring better test maintenance and reliable test execution across the instance.
Before you begin
Role required: atf_test_admin or atf_test_designer
Procedure
Navigate to All > Automated Test Framework (ATF) > Reusable Tests.
A list of reusable tests created on the instance shows up.
Select New to create a new reusable test.
Screenshots showing the reusable test form
The Reusable Test form shows up.
On the form, fill in the fields.
The read-only fields are filled up automatically.
| Field | Description |
|---|---|
| Name | Name of the reusable test. |
| Application | Read-only field with the scope of the test. |
| Active | Option to define the test as active or not. |
| Category | The test step category in which the test shows up. Image omitted: atf-reusable-test-step-category.png Screenshot showing the reusable test step category</p> Note: If you leave this field empty, the test shows up under the Reusable Tests test category by default. |
| Description | Description of the reusable test.Note: The description of the reusable test is displayed in the step creator modal. Image omitted: atf-reusable-test-description.png Screenshot showing the reusable test description</p> See Reusable Tests category for more information. |
Select Save to create the reusable test.
The reusable test shows up.
Note: Reusable tests can’t run independently. They can run only when it becomes a part of another test. They also can’t be added to a test suite independently. They must be invoked in another test within a test suite.
Parent Topic:Reusable tests