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 flexibly and reusability, by calling tests with step parameters already defined in them, thus creating a deeper and highly effective QA coverage.

[Enterprise feature]

Adding step parameters to a test

Go to any test in the Test Library.
In the Steps tab select choose to add a new step or update an existing step.
-Add step name.
-In Step Name/ Description/ Expected results field, add the parameter placeholder.
It should look like: “This is step description using this {{example}}” (Using braces or curly brackets)
-Add as many steps with parameters as needed, by repeating steps above.
-Save and close.

adding test parameters

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 above grey menu 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


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


Next >>

Choose the best way of working now!

PractiTest – all rights reserved / The website was designed & developed by Chilid

SaaS Test Management Tool and QA Management Tools - PractiTest