Step parameters are a smart way to increase test reusability. Test parameters allow you to reuse tests and run them in various test instances while changing the parameters/data being run. For example, when testing the same functionality but on different platforms: such as various OS or mobile devices.

When used in conjunction with Call To Test, you can achieve even more flexibility and reusability, by calling tests with step parameters already defined in them, thus creating a deeper and highly effective QA coverage.

Adding step parameters to a test

Go to any test in the Test Library.
In the Steps tab, choose to add a new step or update an existing step.
1. Add step name.
2. In the Step Name/Description/Expected results field, add the parameter placeholder using double curly brackets.
3. When you start adding a parameter and type opening double curly brackets, a parameters dropdown list will appear. You can select an existing parameter from the list or type a new parameter inside the curly brackets to create a new parameter.
adding step parameters
4. Add as many steps with parameters as needed, by repeating steps above.
5. Save and close.

adding test parameters

Step parameters settings

After adding parameters to your Tests in the Test Library, you can edit the parameters you added from settings, and add predefined values for each parameter.

To do so, click on ‘Settings’ - ‘Step Parameters’. Then, click on the small pencil icon in the parameters line to edit an individual parameter.

editing step parameters

In order to define values for the parameter, change the parameter’s format from ‘text’ to ‘list’ and add the values from the ‘Add possible values’ field.

Note, that you can also define a default value for the parameter, and also rename it.

When you are done editing the parameter, click ‘Save’.

editing step parameters format

Defining Step Parameters from the instances grid

First add the test with step parameters to an existing or new TestSet.

In the TestSet, select the test (check box) and click on ‘Parameters’ in the top right side of the instances grid to define the first values of each parameter.

setting up step parameters in test run


Select each parameter in turn (check the box beside it) and enter it’s value manually. Then hit “Update parameters” and run your test set.

updating parameters


Note: If you change the parameter type to ‘list’ from the ‘Step parameters’ section of settings, and add possible values to it, you will see a drop-down list of values to choose from when you set the parameter value. The predefined values are not case-sensitive.

parameter's list values

Configuring Step Parameters for a specific test instance

You can update parameters and run the test again.
Go to the Test Instance and click on “Configure” above the existing parameter display.

configure test parameters

Update Steps Parameters for the Instance in the pop-up window and save.
Now run the test again with the new set of parameters just added.

update test parameters