Scenarios are normally executed from the top; however, you can use Jumps to change where a scenario is executed.
Once you master them, you will be able to create complex branches within your scenarios.
Scenario labels are marks with names that represent the starting position of a scenario.
You can configure them by setting a name starting with ‘*’ in the Command column.
You cannot configure two scenario labels with the same name. Having two scenario labels with the same name will cause an error to occur when importing the scenarios, so please take care to assign different names to each one.
Increase Scenario Sheets
In addition, Excel sheet names such as ‘Start’ are automatically handled as scenario labels.
Create a new sheet called ‘Test,’ and copy only the top row of the Start sheet to create a new scenario sheet.
Use a Scenario Label and the Jump Command
To make a jump, use the Jump command to specify the scenario label where the execution should jump to.
Write the command at the very end of the Start sheet to make it jump to the Test sheet.
Jump commands can be enabled and disabled by entering a conditional expression with parameters in Arg2.
Please refer to Using Parameters (Values and Flags) for more details on how to use parameters.
For example, if you set flag1 in Arg2 of the Jump command, the Jump command is ignored unless flag1 is true, and then moves onto the command on the next row. In this way, you can create branches in your scenarios.
Edit the scenario as shown below.
Once you have edited the scenario, try running it.