This topic describes the most common actions you’ll perform when working with test cases.
Cloning a test case keeps scripts intact and clears all test results, comments, attachments, and defects.
Simply select any number of test cases you want to clone, then click More > Clone.
New test cases appear in the test-case list with "(cloned)" in the title. You can click/open a test case to rename it.
Unused test cases can clog up the test library, so you can archive those you aren’t currently using to clean up the space. Archiving removes unwanted test cases from the test library without permanently deleting the testing data.
|Note:||Archived test cases can be moved back into the active test library at any time.|
To archive unused test cases, select the test cases you want to move to the archive, then click Archive.
Confirm you want to archive when prompted, and the test cases move out of the test library and into the archive.
You can access archived test cases by clicking Archived Test Cases at the bottom of the Folders panel.
You can move archived test cases back to the test library at any time.
Simply click Archived Test Cases while in the Tests view to access the archive, select the test cases you want to move to the test library, then click Unarchive.
Confirm you want to unarchive when prompted, and the test cases move back into the test library.
To keep your test library clean and tidy, you can delete old or unnecessary test cases. In order to delete a test case, you must first archive it from the test library.
Important info before you begin:
To delete test cases, you’ll need the Delete permission. To change the setting, go to your project’s Settings, then Test Management > Permissions > Test Cases.
You cannot delete test cases that are part of a test cycle or have other dependencies like being used in another test case through call-to-test.
You can only delete one page of test cases at a time. This is to limit the impact of the action on your Zephyr Scale instance.
In the test library, go to the Archived test cases section.
Select the test cases that you’d like to delete (max one page at a time), and click Delete:
Zephyr Scale will analyze dependencies and will report if this or that test case cannot be deleted:
If a test case cannot be deleted, you will need to remove it from a test cycle, or stop using it (through call-to-test) in another test case.
If your test cases don’t have any dependencies, you’ll see a message like this:
Click Next to continue.
On the next step, Zephyr Scale will show the number of test cases to be deleted, and will ask your confirmation for this. Click Delete:
The deletion may take some time depending on the number of test cases selected. Zephyr Scale needs to run additional checks and to remove all the data related to a test case.
You can keep the page open to monitor the deletion process, or close the page (in this case, the deletion will continue in the background). If the page is open, you can cancel the deletion at any time by clicking Abort.
Once the deletion is over, you’ll see a message showing you the number of test cases that have been successfully deleted, and those that have been skipped.
You can export test cases to XLS or to XML.
In the Tests view, select the test cases you want to export.
Click More > Export to XLS.
Click More > Export to XML.
The file downloads to your default location.
Example XLS file:
Example XML file:
You can create a test cycle from the Cycles view, or you can follow these steps to create a cycle from the Tests view.
A test cycle is a set of test cases that are grouped to achieve specific testing goals. Test cycles can be assigned to specific testers and test environments, and they offer a comprehensive overview of coordinated testing efforts.
Navigate to the Tests view.
Select the test cases you want to group into a test cycle.
Click Create Test Cycle.
The Create Test Cycle page opens.
Follow the instructions in the latter half of Creating a Test Cycle that refer to adding information to the Details, Traceability, and History tabs.
Click the Tests view.
Select the folder to which you want the new test cases added, or select All Test Cases if you don’t want to add the new test cases to a specific folder.
Click the ellipses (. . .), then click Create Test Cases in Bulk.
The Create Test Cases in Bulk window appears.
Follow the instructions in the window, and enter one test-case name per line. Fill out the common fields and create any labels you want the test cases to share.
The new test cases generate and appear in the location you selected in Step 2.
Click the Tests view.
Select the folder that contains all of the test cases you want to bulk edit. If the test cases aren’t all in the same folder, select All Test Cases.
Select each of the test cases you want to edit in bulk.
Click More, then click Edit in Bulk.
The Edit Test Cases in Bulk window appears.
Select each field you want to edit in bulk, and update or remove the value.
Any change you make will be applied to each of the test cases you have selected in Step 3.
The Update Test Cases confirmation message appears.
Click Confirm to complete the bulk-edit process.