5.3.1 Creating Test Run

»Creating Test Runs

»Creating Test Runs from other projects' shared Test Cases

Creating Test Runs

To create Test Runs, you need the Create Test Runs permission.
Test Run can be created under Root page, Releases, Test Cycles, and/or Test Suites.
There are different ways to add Test Runs:

  1. Click the Add Test Runs icon on the toolbar of Test Execution.
    Button-Info-icon.pngTest Runs will be added into any location you select on the tree.
  2. Press hotkeys Shift + R.
    Button-Info-icon.pngTest Runs will be added into any location you select on the tree.
  3. Select a Test Suite and click the Add Test Runs button on the Test Runs Grid.
    Button-Info-icon.pngTest Runs will be added into the selected Test Suite only.

Create_Test_Run.png

Clicking any Add Test Runs buttons will open the Add Test Runs window. Then you can add Test Runs based on Requirements, Test Cases, Test Runs or Defects:

  • Select Requirements, Test Cases, Test Cases, or Defects to add Test Runs.
  • All Test Cases associated to selected Requirements or Defects will be added as Test Runs.
  • You can check to only "Display Test Cases that have never been added".
  • You can check to "Not add duplicate Test Cases".

You can switch between the Tree View to the Data Query View. From there, you can query for objects to create new Test Runs. It works much the same as qTest’s Data Query feature. Refer to this article for how to use qTest's Data Query.

The following clauses are added by default to your new queries to make sure that the found objects are valid objects for Test Run creation:

  • For Requirements: Has Association with Test Cases = YES
  • For Defects: Has Association with Test Runs = YES

Important_icon.pngImportant:

  • You have the choice of removing those default clauses when adding Test Runs. However, some of the objects in the result cannot be used for Test Run creation since they have no association with Test Cases/Runs.
  • You cannot query for external defects. If you need to create new Test Runs from external defects, please use the Tree View. There you can search for defects by their ID, Summary or Status.
  • Custom queries from this view cannot be seen in the normal Data Query and vice versa; and they cannot be shared across the team.

button-round-warning-icon.pngHINT:

  • A Test Case can be added as many Test Runs.
  • You can re-arrange your added Test Runs using arrow Move Up   or Move Down    in Test Runs Grid or Drag & Drop function.

Creating Test Runs from other projects' shared Test Cases

To create Test Runs from shared Test Case, option Create Test Runs from other projects' shared Test Cases is enabled in your project's Test Case Sharing settings; and there are external projects which share their Test Cases to your project. Click here for the instructions to set up Test Case Sharing feature.

Open Add Test Run pop-up and then select Test Design tab. There is a combo box at the top left corner for you to select any external projects which have shared Test Cases to your project. By default, the internal project is selected.

  • Only the shared Test Cases which have been approved at least once are shown on Add Test Run pop-up.
  • On Tree View, Test Design tree structure of the selected external project is loaded to Add Test Run pop-up.
  • On Data Query View, you can query for Test Cases in the selected external project using its field settings. You cannot use its system and custom queries; and you cannot save your custom queries in external projects.
  • If you check Display test cases that have not been added, the shared Test Cases which have been used for Test Run creation in the current project are excluded.

Select your desired Test Cases and click Add button to add Test Runs.