title | titleSuffix | description | ms.technology | ms.topic | ms.author | author | monikerRange | ms.date |
---|---|---|---|---|---|---|---|---|
Share steps between test cases |
Azure Test Plans |
Share steps between all your test cases when you want to test web applications |
devops-test |
how-to |
sdanie |
steved0x |
>= tfs-2015 |
09/14/2021 |
[!INCLUDE version-header]
When you plan manual tests there are some sequences of steps, such as logging in, that occur in many test cases. To avoid having to enter these sequences again and again, create shared steps.
[!INCLUDE prerequisites-define]
[!INCLUDE note-new-ui]
While you're editing a test case, select a sequence of steps that you want to share:
The steps you selected are replaced with a link to the new shared steps work item:
Now you can use the shared steps in another test case:
A query opens. Run it to find the steps you want to insert:
When you run a test, you can either mark the whole shared sequence as passed or failed, or mark each step separately: