Create the Test Cases

Create the three test cases, and link each test case to the test script.

A test case defines a set of variable conditions (such as temperature, applied pressure, or translation) used to test the design of your product. Typically, the test manager creates the test cases. You can create a test case that contains several variations of a test. For example, you can create a test case that aims to determine whether a product deforms significantly when subjected to a particular temperature and force.

Here, you act as the test manager, and you create three test cases for the steel bracket design. The first test case is a weight test, the second test case is a strength test, and the third test case is for the factor of safety (FOS).

  1. Click the Overview tab.
  2. In the tree, select the test specification to show the available commands.
  3. Create a test case for the test data related to the steel bracket's weight.
    1. Click Add Test Case , and select Create a Test Case .

      In the menu, you can either create a test case or you can copy and link an existing test case.

    2. Name the test case Test Case 1 (weight test).



    3. Enter a Description to differentiate the test case.

      For example, This test case captures the test data related to the bracket's weight.

    4. From Requirements, select the requirements specification that you previously imported.
    5. In the Test Scripts field, click , and select the test script that you created earlier to link it to this new test case.

      Although you can run a test case that has no associated test script, each test case is typically associated with a test script. Making these associations improves traceability.

    6. Click Create and Close.
    In the Overview tab, the app displays the new test case, nested under the test specification object.

  4. Similarly, create a test case for the test data related to the steel bracket's strength.    
    1. Click Add Test Case , and select Create a Test Case .
    2. Name the test case Test Case 2 (strength test).
    3. Enter a Description to differentiate the test case.

      For example, This test case captures the test data related to the pressure load applied on the bracket.

    4. From Requirements, select the requirements specification that you previously imported.
    5. In the Test Scripts field, click , and select the test script that you created earlier to link it to this new test case.
    6. Click Create and Close.
  5. Similarly, create a test case for the test data related to the steel bracket's factor of safety.    
    1. Click Add Test Case , and select Create a Test Case .
    2. Name the test case Test Case 3 (FOS test).
    3. Enter a Description to differentiate the test case.

      For example, This test case captures the test data related to the bracket's factor of safety.

    4. From Requirements, select the requirements specification that you previously imported.
    5. In the Test Scripts field, click , and select the test script that you created earlier to link it to this new test case.
    6. Click Create and Close.