To delete a test case in Azure DevOps:
- Navigate to the Test Plans section and open the test plan containing the test case.
- Locate the test case you want to delete within the test suite.
- Right-click on the test case (or select it) and choose Delete from the context menu.
- Confirm the deletion when prompted.
How to upload test cases in Azure DevOps from Excel?
Test cases can be uploaded in Azure DevOps from Excel by:
- Preparing the Excel File: Make sure your test cases are structured correctly in the Excel sheet, with columns for the test case title, description, steps, expected results, and any other relevant fields, and then save your file in the Excel (.xlsx) format.
- Opening Azure DevOps: Navigate to your Azure DevOps project and go to the Test Plans section.
- Installing the Azure DevOps Office Integration: If not already installed, you need to install the Azure DevOps Office® Integration extension, which allows you to work with Azure DevOps data in Excel. You can download it from the Visual Studio Marketplace.
- Connecting Excel to Azure DevOps: Open Excel and go to the Team tab (this will appear once the integration is installed). Click on Connect to Azure DevOps, sign in with your Azure DevOps account, and select the project you want to upload the test cases to.
- Importing Test Cases: In the Team tab, click on New List and choose Test Case as the work item type. This will pull the test case template into Excel. Copy and paste the test case details from your prepared Excel sheet into the corresponding columns of the template.
- Publishing Test Cases to Azure DevOps: After adding the test cases, click Publish to upload them to your Azure DevOps project. Your test cases will be added to the Test Plans section in Azure DevOps.