Executing test cases in IBM® Engineering Test Management

After you export at least one test or test suite into Engineering Test Management 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 Engineering Test Management as Test Cases and Test Scripts. You can also create HCL OneTest API scripts directly in Engineering Test Management. Refer to your Engineering Test Management documentation for more information about Test Cases and Test Scripts.

Test Cases in Engineering Test Management 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 Engineering Test Management 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, Engineering Test Management Test Cases) by using the fast path method:

Procedure

  1. Export a test or test suite from HCL OneTest API into Engineering Test Management.
  2. Ensure that the HCL OneTest API Agent is running and available as an adapter in Engineering Test Management.
  3. In the Engineering Test Management console, click Browse Test Cases on the Construction module.

    All available Engineering Test Management 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 required, 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 Engineering Test Management 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 Engineering Test Management console, showing the detailed execution results (the same as for any Engineering Test Management 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 Engineering Test Management can be viewed in the Results Gallery.