Do you know how to create a Test Case with Azure Test Plans?

Last updated by Lee Hawkins [SSW] over 1 year ago.See history

You can create a test case in Azure Test Plans directly from a Work Item (e.g. a Product Backlog Item or Bug) and also from a Test Plan or Test Suite.

Creating a test case from a Work Item

You can create a new test case from any list of work items (e.g. a Sprint Backlog).

create test case from work item
Figure: Double click the Work Item that you want to create a Test Case for to open it

create test case from work item new item
Figure: Under "Related Work", choose Add Link and select New Item

create test case from work item add link
Figure: Ensure that the link type is 'Tested By', that the work item type is 'Test Case' and enter a title for the Test Case. Click OK

create test case from work item new test case
Figure: Update the State and Details sections (making sure to select the correct iteration) and click on 'Click or type here to add a step' and proceed to add the steps required to test the Work Item

create test case from work item new test case save
Figure: After entering each action and its expected result, click Save and Close to create the new test case

Creating a test case from a Test Plan or Test Suite

You can also create a new test case from a Test Plan or Test Suite.

create test case from test suite
Figure: Select the Test Plans menu and the appropriate Test Plan or Test Suite, then click New Test Case

create test case from work item new test case from suite
Figure: Update the State and Details sections (making sure to select the correct iteration) and click on 'Click or type here to add a step' and proceed to add the steps required for this test case

create test case from work item new test case save
Figure: After entering each action and its expected result, click Save and Close to create the new test case

We open source. Powered by GitHub