Generating test cases from a requirement collection

You can generate test cases automatically from a requirement collection in IBM® Rational® Requirements Composer.

Before you begin

C/ALM integration must be configured before you can perform this task. In addition, you need a test plan that already links to a requirement collection.

About this task

To generate test cases from a requirement collection:

Procedure

  1. Open a test plan.
  2. Add a Requirement Collection Links section to the test plan.
    1. In the test plan, click Manage Sections.
    2. Click Show all sections.
    3. Select Requirement Collection Links and move the section to the Selected Sections column.
    4. Click OK.
  3. From the test plan Table of Contents, click Requirement Collection Links.
  4. Select a Requirement Collection from the list.
  5. Click the Create Test Case(s) from Requirements icon (Add new test case).
  6. From the test plan Table of Contents, click Test Cases.
  7. Verify that the newly created test cases are displayed in the table.
  8. Click to open one of the newly-created test cases.
  9. If necessary, add a Requirement Links section to the test case.
    1. In the test case, click Manage Sections.
    2. Click Show all sections.
    3. Select Requirement Links and move the section to the Selected Sections column.
    4. Click OK.
    Note: You can also set the default test case template to Collaborative ALM Test Case Template. Then, all new test cases will include a Requirement Links section automatically.
  10. From the test case Table of Contents, click Requirement Links.
  11. Verify that the requirement links display.
  12. Click the link to open the requirement in Rational Requirements Composer.
  13. Verify that the requirement in Rational Requirements Composer includes a link back to the test case.

Feedback