Shared steps

What are shared steps?

Shared steps are a unique feature of Qase that allows you to create a single step that can be shared across multiple test cases. This eliminates the need to recreate the same step manually for each test case and ensures consistency across all test cases in which the shared step is used.

How to create shared steps?

Let's imagine that I have two different cases for my test suite - both require authorization into the internal system to proceed, so it will be one of the steps to recreate.

I could go into each one of these test cases and create an "Authorization" step for each of them manually, but I'd rather create a single shared step that will be uniform and will be used across various test cases.

  1. To do that, I'll navigate to the "Shared steps" section and create a new shared step:

  1. Give your shared step a title:

  1. Steps to reproduce: A shared step can be configured as a single step - or as a group of steps. Under the title field, there is a "+Add step" button: just like when creating a test case and adding steps to it, you can add multiple steps to reproduce into a shared step group. That way, instead of adding multiple shared steps one by one when your scenario requires multiple consistent actions in many test cases, you can simply configure an entire shared step group with several individual steps to reproduce featured in it:

What else?

Edit: When editing a test case, you can also convert any regular step into a shared step and adjust the newly created shared step later from the shared steps section:

Add to a test case: After creating a shared step, you can add it to a test case when creating or editing a test case by clicking the “Add shared step” button. You can also preview the shared step you want to add:

Convert: After adding a shared step to a test case, you can convert it to a regular step and then edit the steps within the test case you are creating:

Modify: You can also modify the shared step itself: if you click "Edit" button, you will be taken to modify the shared step - apply the necessary changes, save them, and those changes will be applied to all cases where the shared step is used:

Last updated