Skip to main content


How to Create a Test Plan Using Azure DevOps

Azure Test Plans, a service launched with Azure DevOps, provides a browser-based test management solution for exploratory, planned manual, and user acceptance testing. Azure Test Plans also provides a browser extension for exploratory testing and gathering feedback from stakeholders

An Azure DevOps test plan is divided into three sections:

  1. Test Plan – The container to group all your project test suites.
  2. Test Suite – The container to group all your test cases.
  3. Test Cases – The actual test scenario i.e. execution steps to validate the requirement.

In Azure DevOps, there are three different types of test suites you can create:

  1. Static-Based: A static suite of test cases is a suite where the cases have been manually assigned. These are types of Test Suites that can be used to group any Test Cases. This is the default type, but the only disadvantage is that static test cases can’t be directly linked with the requirement.
  2. Requirement Test Suite: A requirements-based suite is one that pulls in all the Test Cases for that requirement. This means Test Suites that are directly created out of requirement and generally these Test Suites are used by QA/BAs to detect whether a user story has passed the Test Execution.
  3. Query Based Test Suite: These are Test Suites created on a query basis. The query can contain any filter like a test title that contains a particular word or is created after a particular date

Follow the steps below to create the Test Plan:

  1. Login to your Azure DevOps account.
  2. Select your project and click on the “Test Plans.”

  1. Click on the “New Test Plan.”

  1. Enter the Test Plan name and select “Area Path” and “Iteration.

  1. Once the test plan is created, you’ll then create the test suite.

  1. In the example below, I’ve created the Static Suite to add the test case required for the “Smoke” flow (ex: Login, Logout, etc.). You can use different test suites as mentioned above depending upon your need.

Note: You can add the existing test cases or add the new test case by clicking on the button “New Test Case” on the right corner of the screen.

New Test Plan Add Existing Test Cases Add Tesxt Cases Using Grid

  1. Once all the test suites and test cases are added to the suite, you can now run all the test cases or a single test case and validate if all the steps added in the test case are working as expected or not.

Smoke Flow

Follow the steps below to run and validate the steps under the tests case:

Note: I don’t come from an automated testing background and can only speak to the Azure DevOps Test Plans as it pertains to manual testing. Therefore in this article, I have used the manual testing workflow.

Note: There are different options to run the test case as shown in the below screenshot.

For the test case for the web application, I’ve chosen to .” You can choose the type depending on your application type.

Once you’ve clicked on “Run for web application Azure DevOps,” open a window and start showing the steps you’ve added to the test case.

Note: If you select multiple test cases, you will start the test from top to bottom.

Once this screen loads, you’ll open a browser and follow the steps added in the test case.

A. Click the “right” icon if the step is working as mentioned.

B. Click on the “cross” icon if the expected result is not matched with the expected result mentioned in the test case above.

Note: When you are marking the “Cross button (X),” you can enter the comment which can be viewed when you review the result for failed test cases.

When all the test cases execute, click on “Save and Close.” It will close the test runner window. Under the test plan, you’ll be able to see the result of the Test Suite for the test.

Smoke Flow Test Points

Here are some additional tips:

  1. During the test run, you can perform the following actions below using the Test Runner window.
  2. Record the screen: It will record the activity screen and add it as an attachment to the test result in the Azure DevOps.

b. Capture screenshot: Capture the image of the entire window, screen, or selected tab.

Login Gmail

c. Create a bug: If a step fails, you can create a bug directly using the task runner window by clicking on the “create issue” link. This will create the ticket in the Azure board and document the steps that failed.

Key Takeaways

These simple steps can be taken to create a test plan using Azure DevOps. For more information, contact our experts today.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Nitin Garg

Nitin Garg is a Lead Technical Consultant with a demonstrated history of working in the information technology and services industry. He has over 10 years of experience in the eCommerce domain using the platform like (Insite Commerce & Znode B2B commerce) and .Net based application.

More from this Author

Follow Us