Step groups let you bundle common actions and reuse them across multiple test cases, making your test automation cleaner and easier to manage. With step groups, you avoid repeating the same sequences, keep your tests consistent, and quickly update all relevant test cases in one go.
Here’s how to create, save, and use step groups in your test automation tool.
Creating a Step Group from Test Steps
Go to the test development section and locate the test case you want to work with.
Image
Select the steps you want to group (for example, actions like entering a username, entering a password, and clicking the login button).
Click on Create Step Group.
Image
Enter a name for your step group.
Image
Click Create to save your new step group.
Image
Your step group is now created and ready to be reused in other test cases.
Creating a Step Group from an Existing Test Case
Find the test case you want to use as a step group.
Click the three dots menu.
Image
Select Clone.
Image
Choose Step group as the clone type.
Image
Click Create to finish.
Image
Now, the step group appears in your library for future use.
Inserting a Step Group Into a Test Case
Open your target test case.
Decide where to insert the step group—at the beginning, in the middle, or at the end.
Click Add Step.
Image
In the left dialog, select Step group.
Image
Use the dropdown to find and select your step group.
Click Create to insert it.
Image
You’ve now inserted a reusable step group into your test case, helping streamline your workflows.
Step groups are essential for efficient test automation. They cut down time spent on repetitive work, increase consistency, and keep your test cases modular and up-to-date. Try building your own step groups for any frequently repeated actions in your projects and see how much more organized your tests become.