Skip to content
Testsigma DOCS

Test Cases

Test Step Type: Step Groups


Sometimes, a group of steps is common across multiple test cases.

For example:

  • You must log in to an account before performing a fund transfer.
  • You must log in to an account before deleting a beneficiary account.
  • You must log in to an account before downloading an account statement.

Logging in to an account is a common prerequisite. Instead of duplicating these steps in each test case, you can create a step group and reuse it wherever required. This article describes how to create and use step groups in Testsigma.


  1. From the left navigatio bar, go to Create Tests > Step Groups, click Create Step Group. Create Step Group

  2. Enter Name and create steps manually by clicking Add new step. Name & New Step

    Alternatively, you can click Record to record steps for the step group. Alternate Method

  3. After adding all the steps, you can use the step group in any test case.


  1. From the left navigatio bar, go to Create Tests > Step Groups.

  2. Open the step group you want to update and make the changes.

    [[info | NOTE:]] | The changes will affect all the test cases that use the step group.


  1. From the Step Group list page, click kebab menu next to the step group you want to delete and click Delete. Delete

  2. This will open Deletion Warning popup. PopUp

    [[info | NOTE:]] | This will show the list of affected test cases. Deletion of the step group will remove the step group in the linked test cases.

  3. Enter DELETE and click I understand, delete this Step Group. Delete

  4. The step group will be deleted successfully.


Edit a Step Group for a Specific Test Case

Section titled “Edit a Step Group for a Specific Test Case”
  1. From the left navigatio bar, go to Create Tests > Test Cases.

  2. Open the Test Case in which you want to edit the Step Group.

  3. Expand the Step Group to edit any test data or element being used in the step group. Edit Step Group

  4. After updating any step click Update Step to save the changes. Save Changes


  1. From the left navigatio bar, go to Create Tests > Test Cases.

  2. Open the Test Case from you want to create a step group.

  3. Once you start selecting the test steps, an option bar will appear on top of the test steps. Select all the steps you want in a step group and click on Create Step Group. Create Step Group

  4. This will open a pop-up as below: Create

    • If you click on the Create, a new step group with the selected test steps and the given name would be created.
    • If you click on the Create and Replace button, a new step group with the selected test steps and the given name would be created and the selected test steps would be replaced by the created step group.

  1. From the left navigatio bar, go to Create Tests > Test Cases.

  2. Expand a Feature, then expand a Scenario, and click ‘+’ next to the scenario where you want to add the test case or open a Test Case in which you want to add a step group.

  3. On the test case details page, click the option on the left side of the test step and select Step Group. Add Step Group

  4. From the Step Group list overlay, select the step group you want to add. Step Group Overlay

  5. Click Create Step. Create Step


  1. From the left navigation bar, go to Create Tests > Test Cases.

  2. Expand a feature, expand a scenario, and click + next to the scenario where you want to add a test case. Alternatively, open a test case in which you want to add a step group.

  3. On the test case details page, click the option icon next to the test step, and then select Step Group.

  4. In the Step Group list overlay, click Reuse Step Group. Reuse Step Group

  5. In the Reuse Step Group dialog:

    • Select the project, application, and version.
    • Select a step group from the Reuse Step Group dropdown list. Reuse Step Group Details
  6. Click Create Step. Create Step

  7. The step group is added from the selected project.


Additional actions possible on iteration count

Section titled “Additional actions possible on iteration count”
  1. Store: In a step group, when a test data profile is being iterated - an additional action is possible. The iteration count can be stored into a variable for later use. (Iteration count is the current count that is being iterated over the associate test data profile in the step group in Testsigma.)

  2. If: The test data set values, from a test data profile being iterated, can be compared within an if condition too. Below screenshot shows the NLP (The NLP can be added as a part of add-on String Compare. You can find the add-ons to use here: https://testsigma.com/addons):