Running a test execution record

With Quality Manager, there are several ways to run a test. One way is by running a test execution record.

You can run a test by creating and running a test execution record. You create test execution records in the context of a particular test case. Each test execution record associates the test case with the test environment needed for test execution. So when you run a test execution record, you are basically saying, "Run this test case in this particular software and hardware environment."

When you run a test case on its own or from within a test suite, you can run the test case with or without a test execution record. When you run the test case without a test execution record, the test case simply runs in the local test environment. If your situation is more complex, and you need to support multiple test environments, you should consider using test execution records.

You can use test execution records to run both manual and automated tests. If you have created manual test scripts, you can add those tests scripts to a test case and then associate test execution records with the test case. The same holds true for any automated tests that you reference from Quality Manager. In many cases, when you run the test execution record, you run a test script that has been added to a test case to which the test execution record is associated.

To run a test execution record:

  1. Do one of the following:
    • Create a test execution record and associate it with a test case. Then open the test case.
    • Open an existing test case and generate multiple test execution records for the test case.
    • Open a test plan and select one or more test cases in the test plan. Then generate test execution records for the selected test cases.
  2. In the Table of Contents of an open test case, click Test Execution Records.
  3. Select the test execution record that you want to run.
  4. Click the Run icon (Test Execution Record).
  5. If there is an automated test script associated with the test case, select the appropriate adapter to run the test and click OK.

    The Script Execution window opens, and the test runs automatically. At the end of the test run, Quality Manager creates an Execution Result. The adapter attaches the tool-specific result for the test run in the Result Details section.

  6. If there is a manual test script associated with the test case, the Script Execution window opens and an arrow is placed to the left of the first statement.
  7. Step through the execution, one statement at a time, clicking the Apply icon (Apply verdict) after you perform each step in the application that you are testing.

    When you reach a Verification Point, select a verdict from the list, and then click the Apply icon (Apply verdict). Possible verdicts include:

    • Error
    • Pass
    • Blocked
    • Fail
    • Inconclusive
    Tip: To assign the same verdict to all steps following the current step, click the Apply All icon (Apply all verdict).
  8. Add an optional comment to one or several statements:
    1. From the toolbar, click the Add/Edit Comments icon (Add comment).
    2. Type your comment in the Write Comments field, and click OK. The Comments icon (Comment) displays within each statement that has a comment.
  9. Add an optional attachment to one or several statements. For example, you could create a screen shot of the application under test and attach it to the statement. To attach a file to a statement:
    1. From the toolbar, click the Attachments icon (Add attachment). The Attachments View displays.
    2. Browse to the file, and click Open.
    3. Click OK The Attachment icon (Attachment) displays within each statement that has an attachment.
  10. If you discover problems with the application under test, submit a defect:
    1. From the toolbar, click the Defects icon (Add defect). The Defects View displays.
    2. Complete the Defect form and click Save. The Defects icon (Defect) displays within each statement that has an defect.
  11. When the test run completes, click Close and show results to view the execution results.

    If necessary, you can modify the verdict (Actual Result) and the weight distribution from the execution results. After you make an edit, be sure to click Save to save your changes.

Related concepts
Test plan overview
Related tasks
Generating test execution records automatically
Creating a single test execution record
Creating new test cases
Creating manual test scripts
Submitting defects

Feedback