The built-in export
In Test Plans, open a test plan and a test suite. Add any fields you want through Column options, select the test cases, and choose Export test cases to CSV or Export test cases to XLSX from the menu. You can export a whole suite or only selected cases. The same feature imports: export, edit the file, and import it to update cases by ID or create new ones. Microsoft's guidance is not to change the ID or Work Item Type columns. Details are in Microsoft’s bulk import or export of test cases article.
What it includes
The test case work items: title, steps with their actions and expected results, and the fields you added as columns, such as state, area path or assigned to. It is the right tool for reviewing test design, bulk editing steps, or moving cases between projects.
What it leaves out
It exports what each test should do, not what happened when it ran. Outcomes, step results, tester comments, run dates, linked bugs and attachments from runs are not in it. When a QA lead, a release board or an auditor asks for the test cases in Excel, they usually mean the results.
Getting results too
- Analytics: test results and test points are available through the Analytics OData endpoints (v3.0-preview or v4.0-preview for testing data) and can be loaded into Excel with Power Query. Good for pass-rate trends; it takes OData knowledge.
- Test Evidence Export for Azure Test Plans: produces a Word document with each test case, step outcomes and tester comments from the run, and linked bugs and requirements, plus an Excel traceability matrix with each requirement, its test cases, the latest outcome, the run date and open bugs. Requirements with no run are listed too.
Test cases with what actually happened
Free covers up to 25 test cases per export. Pro adds screenshots, the sign-off section and the traceability matrix for US$20/month per Azure DevOps organization.
See Test Evidence Export for Azure Test Plans Install from Visual Studio MarketplaceI'm the developer of Test Evidence Export for Azure Test Plans, so weigh this guide accordingly. Azure DevOps, Microsoft Word and Microsoft Excel are trademarks of Microsoft. This extension is independent and is not affiliated with or endorsed by Microsoft.