Executing test cases in IBM® Rational® Quality Manager

Once you export at least one test or test suite into IBM® Rational® Quality Manager and the HCL OneTest API adapter is available, you can execute HCL OneTest API resources remotely.

About this task

HCL OneTest API tests and test suites are created in Rational® Quality Manager as Test Cases and Test Scripts. You can also create HCL OneTest API scripts directly in Rational® Quality Manager. Refer to your Rational® Quality Manager documentation for more information about Test Cases and Test Scripts.

Test Cases in Rational® Quality Manager can be executed in many ways (for example, direct or fast path execution, as part of a test suite). The following illustrates the fast path execution method. Refer to your Rational® Quality Manager documentation for more information about other ways to use the test resources that are exported from HCL OneTest API.

To execute HCL OneTest API resources (that is, Rational® Quality Manager Test Cases) by using the fast path method:

Procedure

  1. Export a test or test suite from HCL OneTest API into Rational® Quality Manager (see Exporting resources from HCL OneTest API).
  2. Ensure that the HCL OneTest API Agent is running and available as an adapter in Rational® Quality Manager (see Verifying the HCL OneTest API Agent).
  3. In the Rational® Quality Manager console, click Browse Test Cases on the Construction module.

    All available Rational® Quality Manager test cases are displayed, including the cases exported from HCL OneTest API.

    View Test Cases list
  4. Select one of the HCL OneTest API test cases by checking the box to the left of its entry in the list.
  5. Click the Run Test Case icon above the list of test cases.

    The Run Test Case dialog is displayed.

    Run Test Case
  6. If wanted, modify the available execution and results options, then click OK to execute the test case.
    Note: The Test Script option can be used to select which test script (that is, which environment) is used when the test case is executed.
  7. The test case is executed in a new tab in the Rational® Quality Manager console, and the progress is displayed in the console.

    When the execution is finished, the status is displayed in the console, and the "Execution completed" notification is displayed in the execution tab.

  8. To view the detailed results of the execution, click Show Result.

    The results are opened in a new tab in the Rational® Quality Manager console, showing the detailed execution results (the same as for any Rational® Quality Manager test case).

    In the Result Details section, a link to the HCL OneTest API log for the executed resources is available.

  9. Click the log file name to view it.
    Note: Results for HCL OneTest API resources that are executed by using Rational® Quality Manager can be viewed in the Results Gallery.