How to restore deleted test cases

Modified on Sun, 23 Jul, 2023 at 3:24 PM

Good news! In the scope of a project, the test cases aren't deleted. They are marked as deleted, they are hidden from the lists but remain in the system to maintain correct relations in the database.

If you delete a project, then such an action will be irreversible and all the test cases of a deleted project will be deleted as well.

But let's go back to the good news.

To get the list of deleted test cases you need to change the address string of the test cases section.

For example

replace test-cases?treeId=0 with test-cases-list to get this


In the page you will see a text field for AQL, set it to true, and check the checkbox Only Deleted

Then execute the query. You will get the list of deleted test cases.

Click the ID of a test case you need to restore, it'll be opened as test case view. In the test case menu select Restore to restore the test case.

Automated test cases

Generally, there is no need to restore automated test cases – as soon as you uploaded new test result and closed the created launch, deleted automated test cases related to these test results will be restored by the system, this is the work of Smart Test Cases feature.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article