OVERVIEW
Users can run tests and set parameters during the test run. For example, a user wants to run the same test on several browsers. So instead of adding a test case for each operating system, the User can add one test case and a parameter called “Browser Type“.
- Run parameters are added at the level of the execution set, and are applied for all test cases in the execution set.
- Run parameters are combo box field type, and must-have reference table associated
- User can set run parameters to mandatory, means, the tester must set value before actually executing any test step
- Adding run parameters to pool (list of run parameters) and add run parameter from pool to execution set, have permissions associated.
Before adding a parameter, you need to have a reference table. in order to add a reference table, you must go to Admin->System Tables and add a new list
ADD NEW RUN PARAMETERS TO POOL
In order to add a test parameter, follow these steps
- Select any Execution Set
- Select the Run Parameters tab
- Select the option “Manage Parameters Pool” option from Add selection(3 dots displayed at the Top right side)
A new tab with the Run Parameters Pool gets opened
- Click on Add Icon at the bottom of the Page to add new Run Parameters
ADD PARAMETER FROM POOL
- Select any Execution Set
- Select the Run Parameters tab
- Select the option “Add from Pool” option from Add selection(3 dots displayed at the Top right side)
It would list all the Parameters which are added in Pool
ADD PARAMETER FROM EXISTING EXECUTION SET
- Select any Execution Set
- Select the Run Parameters tab
- Select the option “Add from Execution set” option from Add selection(3 dots displayed at the Top right side)
It would list all execution set with Run Parameters from the Selected Project
RUNNING TEST WITH RUN PARAMETERS
When user run test that has run parameter, he can select a value for the parameter/s
In order to be able to add new values during the execution of the test, the user should be granted with permission on the Admin->Group->Permission->Work Item = “Execution Set”->Select: “Add test run parameter value during test execution“
During the execution of the test new values can be inserted into the parameter selection combo box.
For more details, read the Execute test case