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

Updated by Brady Stroud [SSW] 1 year ago. See history

123

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).

Image

Figure: Double click the Work Item that you want to create a Test Case for to open it

Image

Figure: Under "Related Work", choose Add Link and select New Item

Image

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

Image

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

Image

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.

Image

Figure: Select the Test Plans menu and the appropriate Test Plan or Test Suite, then click New Test Case

Image

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

Image

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