Azure Test Plans Tutorial
Introduction to Azure Test Plans
Azure Test Plans is a service offered by Azure DevOps that provides a rich set of capabilities for planned and exploratory testing. It enables you to improve code quality and track the status of your tests and bugs.
Prerequisites
Before you start using Azure Test Plans, ensure you have the following:
- An active Azure DevOps account
- A project in Azure DevOps
Creating a Test Plan
Follow these steps to create a Test Plan:
- Navigate to your Azure DevOps project.
- Go to the Test Plans tab.
- Click on the New Test Plan button.
- Fill in the necessary details and click Create.
Creating a Test Plan named Release 1.0 for the Web Application project.
Creating Test Suites
A Test Suite is a collection of test cases. To create a Test Suite:
- Go to your Test Plan.
- Click on New Test Suite.
- Select the type of suite you want to create (e.g., Static, Requirement-based).
- Enter the necessary details and click Create.
Creating a Static Test Suite named Login Tests.
Creating Test Cases
Test Cases are the individual tests that you will run. To create a Test Case:
- Go to your Test Suite.
- Click on New Test Case.
- Enter the necessary details for the test case (e.g., Title, Steps, Expected Results).
- Click Save.
Creating a Test Case for the Login functionality with steps to enter username, password, and click login.
Running Tests
Once you have created your Test Cases, you can run them by following these steps:
- Go to your Test Plan or Test Suite.
- Select the Test Cases you want to run.
- Click on Run.
- Follow the prompts to execute the tests and record the results.
Running the Login Tests suite and capturing the results.
Analyzing Test Results
After running the tests, you can analyze the results to track the progress and identify any issues:
- Go to the Test Plans tab.
- Select your Test Plan.
- Click on the Results tab to view the test results.
- Analyze the results and create bugs if necessary.
Viewing the results of the Login Tests and identifying a failed test case.
Using Exploratory Testing
Exploratory Testing allows you to simultaneously learn about the application and design tests. To perform Exploratory Testing:
- Go to the Test Plans tab.
- Click on Exploratory Testing.
- Use the extension to capture steps and create Test Cases or Bugs as you explore the application.
Using the Exploratory Testing extension to discover and log a new bug in the Web Application.
Conclusion
Azure Test Plans offer a comprehensive suite of tools for managing and executing tests in your Azure DevOps projects. By following this tutorial, you should be able to create, manage, and analyze your test plans effectively.