Call to Test
When creating new tests or editing existing tests, it is possible to call test steps from other existing tests in the Test Library. This feature can save time by reusing already well defined test steps and is available for enterprise users.
Calling test steps into a new test –
In the Test Library > Create a new test/ Edit an existing test.
If you have added a new test be sure to name it and add relevant information in the Custom fields, Then go to the Steps tab. Instead of adding a new step manually, click on “call steps from another test“.
Call test steps by entering an existing test ID from the TestLibrary and pressing “submit”, or by selecting “Show tests” and choose the test/s you want from the pop up window.
The called steps will appear as a link to the original test, within your steps tab display.
(Save your new test).
You can nest as many “child” called tests under any “parent” test as desired with multiple levels.
As seen in the diagram here:
How it works –
To see the actual called steps, go to Test Sets & Runs > Create a new Test Set.
Add your new test to the Test Set and hit run. You will now see all the steps of your test (manually added ones as well as the called steps). All with full edit capabilities of description, expected results fields and of course run status, bug reporting capabilities etc.
Editing called steps –
- Deleting steps: While you are in the Test Run you can delete any individual called step. However while in the Test Library, deleting the called test will remove all the included steps with it from the new test.
- Cloning tests: When you clone a Test in the Test Library that has “call to test” steps, the called test steps are cloned as well (with link to original test).
* You can also clone a test (with called steps) to another project, where it will appear in that Test Library as a new test in itself with all the step information.
- Action options in Test Run: All editing capabilities of steps are available as mentioned. However, you cannot add a new step in between called steps. You can add steps before or after them, by using the action button of the tests before and after the called step sequence.