Rerun tests on Azure
Configure the Azure Pipelines integration so you can rerun failed tests from the Test Reporting & Analytics dashboard.
BrowserStack Test Reporting & Analytics lets you rerun failed tests directly from the dashboard after you integrate Azure Pipelines. This integration removes the need to manually trigger Azure builds.
Before you proceed, complete the main setup to rerun failed tests: Rerun failed tests with Test Reporting & Analytics.
Configure the Azure Pipelines integration
Each user who wants to trigger reruns must complete this setup:
- Go to the Azure Pipelines integration page.
- Create an Azure DevOps personal access token. In Azure DevOps, do the following:
- Go to User settings > Personal access tokens > New token.
- Set an expiry, and grant the Build (Read & execute) scope.
- Enter the token in the form and click Submit.
- Review the token and remove any scopes you don’t need.
- In your Azure Pipelines project settings, turn off Limit variables that can be set at queue time. For details, see Azure Pipelines input security.
Trigger reruns
After you complete the CI configuration, follow these steps to rerun failed test cases:
- Go to the Test listing to view failed test cases.
- Hover over the failed test name to display the action icons.
- Click the rerun icon to open the rerun options.

Related topics
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!