Adding Test Parameters to a Test Case
When working with a test case, you can add test parameters to test steps. A test parameter can be used in test steps by including the parameter name within "<<>>". For example, <<Username>> means the test step makes references to a test parameter whose parameter name is "Username". If a single test case needs to be executed multiple times with different variables applied, multiple test iterations can be defined for the test steps with different parameter values specified and applied for each execution of the steps.
Add test parameters to test steps
To add test parameters to test steps, please following the below steps:
- Open a test case issue
- From a test step, including parameter name within "<<>>", for example, <<Username>>
Note:
1) Please make sure a test parameter with name "Username" has been created already in your Jira project
2) If the test parameter exists in the Jira project, then text color will show as blue color automatically, for example: <<Username>>. Otherwise, it will be considered as a normal step texts without text color applied. - Click "Add" button to finish the creation of the step
You can repeat step 1-3 to add multiple test parameters to test steps
[Screenshot - v9.2_Test_Parameter_Test_Case_Add_Parameter]
After test parameters are added in test steps successfully, the user then can decide what values/combinations need to be called from the added test parameters during test execution. You can do it by adding "Test Iteration" to the test case.
Add test iterations to test case
To add test iterations to test case, please following below steps:
- Open a test case issue with test parameters added
- From "Test Step" panel, click "Gear" icon
- Click "Test Iterations" from the drop-down
- Select parameter values from the dropdown and click "Add Iteration" button.
You can repeat step 1-4 to create multiple iterations - Click the "Close" button
[Screenshot - v9.2_Test_Parameter_Test_Case_Create_Test_Iteration]