Menu

Linking Test Cases and Requirements

Overview

qTest Manager provides essential traceability between test cases and requirements. You can establish this traceability on either the requirement or test case object. 

Tricentis recommends the following as Best Practice when linking Requirements to Test Cases, either from within the UI or via API. Note the maximum thresholds and associated impact. These numbers are generalized for providing context.
  • One Requirement linked to 2,500 Test Cases: expect difficult navigation within the UI at 2,500 and load time will increase.
  • One Requirement linked to 60,001 or more Test Cases: not recommended as the system will become unstable.

Link Requirement to Existing Test Case 

To link a requirement to an existing test case, perform the following steps:

  1. Select Requirements in qTest Manager.
  2. In the left navigation panel, expand your module. Then, select the requirement.
    Select_requirements.png
  3. In the "Resources" section, select Add. The "Test Cases" dialog displays.
  4. Select your Test Case that you would like to link to your Requirement. Select Add.
  5. Select Save.

    H
    INT: A requirement can be linked to more than one test case. To quickly link a test case to many requirements, use the SHIFT and/or CTRL key to select multiple Test Cases in the dialog. Then, select Add.  

Link Requirements to Test Cases Video

Note: For highest quality, watch this video in full-screen mode.

Link Requirement to New Test Case 

To link a requirement to a new test case, perform the following steps:

  1. In Requirements, refer to the Create Associated Test Cases area at the bottom of the page.
  2. Enter a name, type, description, and precondition and click the Create button.



    The created test case is automatically linked to the requirement and displays in the Linked Test Cases section in the Resources area of the requirement page. 



    Once the linked test case is created, you can select the test case to add more details.

Link Test Case to Requirements

In addition to linking a requirement to a new or existing test case, you can also link a test case to an existing requirement. Perform the steps as follows: 

  1. Select the Test Design.
  2. In the left navigation panel, expand the folder to select the applicable test case. 
    Link_Test_Caseto_REquirement.png
  3. In the "Resources" area of the Test Case screen, select Add.


  4. The "Add Requirements" dialog displays. Select the applicable requirement to link to the test case. Select the Requirements tab. 
  5. Select the proper Requirement in the dialog. Select Add.
    Add_REquirenents.png

    H
    INT: A test case can be linked to more than one requirements. To quickly link a test case to many requirements, use the SHIFT and/or CTRL key to select multiple requirements in the dialog. Then click the Add button.

 

Powered by Zendesk