--- title: "Optimizing Scenarios with Step Groups | Autify Guide" slug: "step-group-for-the-beginning-of-a-scenario" description: "Efficient Scenario Initiation with Autify's Step Groups. Streamline your testing process. Get started today!" updated: 2023-08-16T05:16:32Z published: 2023-08-16T05:16:32Z canonical: "help.autify.com/step-group-for-the-beginning-of-a-scenario" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.autify.com/llms.txt > Use this file to discover all available pages before exploring further. # Step Group for the beginning of a Scenario ## When to use This is useful when you want to run the same process at the beginning of multiple scenarios. Generally, we find users use this type of Steps Group for logins or quick navigations. ## Creating a Step Group for the beginning of a Scenario Creating this kind of Step Group is very similar to creating a scenario. Click on the ***[Step groups]*** tab to navigate to the step groups page. For our purposes, we will click the "New" button at the top right corner. ![Screen Shot 2022-04-05 at 21.09.01.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Screen%20Shot%202022-04-05%20at%2021.09.01.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) This interface should be familiar as it is the same as that of a scenario. You can change the name of this step group by clicking the edit button. You can also change your window size (note: make sure you have the same window size for both your scenarios and step groups to maintain consistency). ![Screen Shot 2022-04-05 at 21.11.42.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Screen%20Shot%202022-04-05%20at%2021.11.42.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) Input the URL you want to start with and then press "Start recording". From there you should be able to record your step group in the same way you would record a scenario (see [recording a scenario](https://help.autify.com/v1/docs/creating-a-scenario) for more information). ## Creating a Step Group from an existing Scenario While you can record your Scenario from scratch, you may also want to create a Step Group from a existing Scenario. It's possible, and easy! ### Duplicate from the Scenario Details Page 1. Click the three dots menu in the upper right corner of the Scenario Details Page 2. Click `Duplicate as a Step Group`. ![ss2022-03-11 15.48.21.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/ss2022-03-11%2015.48.21.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) ### Duplicate from the Scenario List Page 1. Click the three dots menu on the right side of the Scenario List Page. 2. Click `Duplicate as a Step Group`. ![zndsk-Screenshot_2022-03-11_15.50.02.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/zndsk-Screenshot_2022-03-11_15.50.02%281%29.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) ## Using a Step Group at the beginning of a Scenario When creating a new scenario, you can instead select "Using step group" to start the scenario with the step group you recorded. ![Screen Shot 2021-10-06 at 5.13.47 PM](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Screen%20Shot%202021-10-06%20at%205.13.47%20PM.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) Upon clicking this you will be given a dropdown to select from a list of step groups you have made. Select the one you would like to use. If you would like to proceed automatically to the end of the step group, keep that option checked. Press record and now you can continue as normal with your scenario! Once you have finished recording your scenario, the step group will appear at the beginning of the scenario. You can replace it with some other Step Group by selecting it from the list. If you have a long list of step groups, you can easily find the one you are looking for by typing the name into the field. ![Screen Shot 2022-04-05 at 21.36.01.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Screen%20Shot%202022-04-05%20at%2021.36.01.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) ## Changing Step 1 of an existing Scenario to a Step Group If you want to add the step group you created to Step 1 of an existing scenario, you can change it in the following steps. 1. Open the details section of Step 1. In the pull-down menu under Action, select [Execute step group]. ![image.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/image%2812%29.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) 2. Step 1 will change from [Visit] to [Execute step group]. You can now select which [Step Group] you would like to use from the drop-down menu on the right. Once you have selected the [Step Group] you wish to use, save the [Scenario]. ![image.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/image%2813%29.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) If you have a preexisting Scenario you would like add this step group to, you can do so by going to step 1 of that scenario and change “visit” to “execute step group”. ![Screen Shot 2022-04-05 at 21.36.36.png](https://cdn.document360.io/a099d8a2-cfd2-42ca-9906-68b4a337f4a5/Images/Documentation/Screen%20Shot%202022-04-05%20at%2021.36.36.png?sv=2026-02-06&spr=https&st=2026-11-11T14%3A51%3A00Z&se=2026-11-11T15%3A51%3A00Z&sr=c&sp=r&sig=Eq4pHOuixdSGIs%2Bvivc%2BEaQk6o%2F9WoK8LuPLoznM%2FvU%3D) ### Note - If the Scenario begins with a Step Group, you cannot duplicate it as a Step Group. - If the Data feature is used in the Scenario, the Data contents will not be included in the copied Step Group. - When running a test with a Step Group in it, the number of steps in the result will include the number of steps in the Step Group. For more details, please refer to the following document: [I can’t successfully duplicate Scenarios as a Step Group. Why is this?](/v1/docs/i-cant-successfully-duplicate)