Share steps between test cases
Azure Test Plans | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015 | Visual Studio 2017 | Visual Studio 2015
We strongly recommend you use Azure Test Plans or the Test hub in TFS (a fully featured Test management solution) over Microsoft Test Manager for all your test management requirements. There will be no new versions of Microsoft Test Manager. Microsoft Test Manager 2017 (which shipped with Microsoft Visual Studio 2017) is the last version.
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.
To use all the features described in this topic you must have either an Enterprise, Test Professional, or MSDN Platforms subscription; or have installed the Test Manager extension for Azure Test Plans available from Visual Studio Marketplace. See Manual testing permissions and access.
Create shared steps
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:
Use shared steps
Now you can use the shared steps in another test case:
An Azure DevOps or TFS query opens. Run it to find the steps you want to insert:
When you run a test with shared steps
When you run a test, you can either mark the whole shared sequence as passed or failed, or mark each step separately:
Help and support
Send feedback about: