Hi Deborah Rowe,
Thank you for posting your question in the Microsoft Q&A forum
Importing test runs (executions/results) from Excel into Azure DevOps Test Plans is not a direct out-of-the-box feature while you can bulk import test cases from Excel/CSV, test runs data like execution history and outcomes requires a custom process.
Test Case Import:
- You can natively import test cases from Excel or CSV using Azure DevOps Office Integration or via the built-in CSV import in Test Plans.
Official Documentation
__Bulk import or export of test cases - Azure Test Plans__
__Import work items from CSV__
Test Run Data (Results) Import:
- There is no official UI method for importing historic test run data directly.
- You must use a custom script leveraging the Azure DevOps REST API to create test runs and results programmatically.
- Recommended process: Parse Excel using Python (or PowerShell) for test run data. Map fields to Azure DevOps Test Plan/Test Run/Test Result API endpoints. Use a Personal Access Token (PAT) for authentication.
Key Points
- You can automate test run import using REST API endpoints
- Test Runs - Create
- Test Results - Add
There are migration scripts on GitHub and community forums for similar needs.
I hope the provided answer is helpful,
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
Thanks