Export Azure Test Plans Results and Outcomes to Excel

A release board wants a spreadsheet: every test, did it pass, when was it run, and is there an open bug. Test Plans shows this on screen, but does not export it.

What Test Plans shows but will not export

The Execute tab shows each test point's latest outcome, and the Progress report charts pass rates. Test runs list results with their step outcomes. None of these has an export of outcomes to Excel, which is a common question on Microsoft's own Q&A. The built-in test case export exports the case definitions only.

Option 1: Analytics and Power Query

Analytics has test result and test point data through OData (testing data needs v3.0-preview or v4.0-preview). Load it into Excel with Data, Get Data, From OData Feed. You choose the fields and filters, and you can refresh it. It suits ongoing dashboards; it needs Analytics enabled and someone comfortable writing OData queries.

Option 2: the REST API

Test Plan, Test Point and Test Result APIs return the same data. A script can write a CSV, but joining points to their latest result and to linked requirements and bugs is the part that takes time.

Option 3: Test Evidence Export

Test Evidence Export for Azure Test Plans reads the plan in your browser and builds an Excel traceability matrix with each requirement, its test cases, the latest outcome, the run date and open bugs, including requirements that were never run. Alongside it, a Word document has one section per test case with the steps table, outcomes and tester comments from the run, so the matrix and the evidence agree. Filter by suite, configuration, outcome and date range, and choose latest outcome or full run history.

Reading the results

  • Use the latest outcome per test point for a go or no-go decision; use full history to show a fix was retested.
  • Report blocked and not-run separately from failed. A suite that is 90% passed and 10% not run is not ready.
  • Requirements with no test at all are the gap auditors look for first.

Outcomes, run dates and bugs in one workbook

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 Marketplace

I'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.