51.2 Create Test Runs from Test Cases with parameters

When you create Test Runs, qTest will prompt you to assign values to the parameters in the Test Cases.

Create Test Runs

There are 2 ways to create Test Runs

  • Create Test Runs from Test Design tab
  • Create Test Runs from Test Execution tab

Create Test Runs from Test Design tab

  1. Select an existing Test Case from Test Design tree
  2. Click Add Test Run button
  3. Select a location in Test Execution tree where the Test Runs will be located
qtest-test-design-create-test-runs

Create Test Runs from Test Execution tab

  1. Select a location on Test Execution tree
  2. Click Add Test Runs button on the tree's toolbar
  3. Select Requirements, Test Cases, Test Runs or Defects to create Test Runs
test-execution-add-test-runs

Assign parameter values

If some of the selected Test Cases include some parameters, qTest will prompt you to assign parameter values. You can create multiple Test Runs with different parameter values from a Test Case at a time.

  1. Select a Test Case in the drop-down list to assign parameter values
  2. Review Test Run Location where the Test Runs will be located. You can click Modify button to change the location
  3. Since you are able to create multiple Test Runs from a Test Case at a time, you need to select how to name the Test Runs
    • System default: Test Runs' names are the same as the Test Case name with an appended incremented numeric value
    • Customize Test Run Name: You are able to define custom Test Run names. Use @ to specify parameters which are included the Test Case and their assigned values will be filled in the Test Run names
  4. Select one of the ways to create Run Data. There are various ways for you to assign parameter values when creating Test Runs:
    • Manually: you will need to manually select values for parameters one by one
    • Randomize data: the system will randomly select values for your parameters
    • From Dataset: you can also use pre-defined data from your Dataset to create Test Runs
  5. Select number of Test Runs you would like to create
  6. Assign or preview the parameter values if needed
  7. You can select these options before creating Test Runs:
    • Do not add duplicate Test Runs in the same location: If there has been a Test Run with the same Test Case version and same set of parameter values in the selected location, the duplicate one will not be created
    • Do not add duplicate Test Runs: If there has been a Test Run with the same Test Case version and same set of parameter values, the duplicate ones will not be created
  8. Click + Add button to create Test Runs. If there are multiple Test Cases in the Test Cases drop-down list, after you have create Test Runs from a Test Case, it will automatically navigate you to the next one
assign-param-values

  NOTE:

  • Test Run Configurations will not be applied to Test Runs created from Test Cases with parameters

For the detailed instructions to create Run Data, please see these instructions below:

»Manually assign parameter values

»System to randomize parameter values

»From datasets