Running a test case

The easiest way to run a test is to create a test case and run it.

About this task

You can run a test case with or without specifying a test environment, test execution record, or a specific test machine on which to run the test. Optionally, you can associate the test execution results with a particular test plan.

To run a test case:

Procedure

  1. From an open test case, click the Run Test Case icon (Play) to open the Run Test Case window.

    You can also run a test case from the View Test Cases window.

  2. Complete the choices in the Run Test Case window as needed.
    1. Select a test execution record from the list.
    2. Select a test environment from the list.
    3. Select a test script from the list.
    4. Select from the list a specific test machine on which to run the test.
    5. To associate the execution result with a specific test plan, select Associate Results with a Test Plan, select the test plan, and select a milestone or iteration in that plan.
    6. Click OK to run the test case and display the test execution results.
  3. Update the execution results as needed, and click Save to save your updates.

    For example, you can provide a detailed description of the test results in the Result Details section.

    Note:

    The items that can be edited in the Execution Results depends on permissions. If you have permission to do so, you can also edit the Verdict and the Weight.

    The Result Details section actually changes depending on the type of test script that you run. For manual test scripts, a verification point report is shown followed by the script step log.

    For a scriptless execution, the Result Details section is a rich text editor that the user can edit.

  4. To file a defect:
    1. Click the Defects icon (Add existing defect) in the upper right corner of the Execution Results.

      You can add a new defect or assign an existing defect.

    2. Complete the defect form as needed.
    3. Click Save to save the results.

Results

To view the results at a later time, point to the Execution icon (Execution), and click All Execution Results.

Feedback