Creating ClearQuest defects and linking from HP ALM test cases

Use the Rational® Adapter for HP ALM web application to create an IBM® Rational ClearQuest® defect record. Then use the adapter to associate a failed HP ALM test case with the defect.

Before you begin

These instructions apply only to ClearQuest web environments that are configured with the OSLCLinks package. You can determine whether the OSLCLinks package is applied to your schema by the availability of the Links tab in a displayed record. The instructions assume that you configured cross-server communication and project relationships between the ClearQuest web server and the HP ALM web server, described in Technote 1580379.

About this task

You can create a ClearQuest defect record and link a failed HP ALM test case to the defect by using the Rational Adapter for HP ALM. A backlink from the defect to the test case is created as part of the link process.

Procedure

  1. Using the Rational Adapter for HP ALM web application, display the failed test case.
  2. Click Create on the toolbar of the Related Defects section of the page. The Create Link window opens.

    Image of the Create Link window

  3. From the Project Association list, select a project association (user database and schema repository). Enter the required information on the ClearQuest record-creation template, and click Save. The Create Link window closes. In the Rational Adapter for HP ALM web application, the link displays under the Related Defects section.

    Image of the test case in the Rational Adapter for HP ALM web application, with a link to the ClearQuest defect in the Related Defects section.

    A link is created in the test case and in the ClearQuest defect record.

  4. While you are viewing the test case in the Rational Adapter for HP ALM, move your mouse pointer over the defect link. A summary of the defect displays.
  5. Verify the link in the ClearQuest defect record.
    1. Using the Rational Adapter for HP ALM, click the defect link in the Related Defects section of the test case. The record opens in the ClearQuest web client.
    2. Click the Links tab. See the test case link under the Related Test Case heading of the Links control.
  6. Optional: Verify the link in the test case. Using the Rational Adapter for HP ALM web interface, click Launch HP ALM.

Feedback