Skip to main content
All CollectionsMicrosoft Azure - Technical Guides
Deleting and Unlinking Test Cases with the AI Test Case Generator for Azure
Deleting and Unlinking Test Cases with the AI Test Case Generator for Azure

Efficiently remove and unlink Azure test cases for streamlined project management and improved testing processes.

Updated over 7 months ago

Follow the steps below to start unlinking and deleting test cases in a user story.

How to unlink test cases in a user story:

1. Navigate to the Boards page in the sidebar.

Note: You can also access the user story via the Work Items page in the sidebar.

2. Open the user story where you want to unlink the test case.

3. Hover your mouse to the desired test case to be unlinked on the bottom right of the user story.

Notice how the ’x’ icon appears as soon as you hover to the test case.

4. Click the ‘x’ icon beside the test case you want to delete.

The ’Save & Close’ button should be enabled after clicking the ’x’ icon.

After saving, you have successfully unlinked the test case. However, the test case is only unlinked to the user story but still exists as a test case in Azure DevOps.

How to delete the test cases in Azure:

1. Access the queries page from the sidebar.

2. Click the ‘New Query’ button.

3. Click the Work Item Value dropdown and select 'Test Case’.

4. Click the ‘Run Query’ button.

5. Select multiple test cases from the results by using ctrl + left click or shift + left click in the test case title to highlight which test case you want to include in deleting the test cases and press the right click on the highlighted test case title.

6. Click the ‘Permanently delete’ option.

7. Click the Reload button.

8. Run the query again by repeating steps 2-4 and check if the test cases are permanently deleted.

Did this answer your question?