Link requirements collections in IBM Rational DOORS to test plans in IBM Rational Quality Manager

This article teaches IBM Rational DOORS and IBM Rational Quality Manager users how to link requirements collections in a Rational DOORS module view to a test plan and generate a test case in Rational Quality Manager using the reconcile feature in Rational Quality Manager.

Pradeep Marigowda (pradeep.marigowda@in.ibm.com), System Software Engineer, IBM

Pradeep has been working with IBM Rational DOORS team for the past 5 years and has more than 7 years of experience in IT. His areas of expertise include integrating requirement management tools with quality management tools.



30 July 2013

Also available in Chinese

Overview

Captured requirements are saved in the IBM® Rational® DOORS® module view as a requirement collection. The test case to each of these requirements will be created in the IBM® Rational® Quality Manager test plan. The reconcile feature in Rational Quality Manager enables you to link the requirements in Rational DOORS module view to the test case in Rational Quality Manager. It also helps in generating the test case and linking back to the requirements in the DOORS module for further reporting.

Prerequisites

This article is based on following assumption:

  • DOORS 9.4 and IBM Rational DOORS Web Access 1.5 version is installed and configured
  • Rational Quality Manager 4.0 version is installed and configured
  • DOORS is registered (consumer out bound) in Rational Quality Manager to consume the OSLC services provided by Rational Quality Manager
  • Rational Quality Manager is registered (friends out bound) with Rational DOORS Web Access to consume the OSLC services provided by DOORS Web Access.

Note:
Versions older than DOORS 9.4, DOORS Web Access 1.5 and Rational Quality Manager 4.0 do not support this reconcile feature.

For more information on installing and configuring DOORS and Rational Quality Manager using OSLC services, please refer to Integrate Rational Quality Manager with Rational DOORS using Open Services Lifecycle Collaboration, published on Jazz.net.


Step 1: Create the requirement collection

This section explains how to create the requirement collection in the DOORS module.

  1. Log in to DOORS as a user whose role is able to manage databases.
  2. Create a project named DOORS-RQM integration.
  3. Create a module named Requirement module and add to it all of the requirements that need to be linked with the test plan and those that are needed to create the test case in Rational Quality Manager.
  4. Save the requirement collection as a separate view.
Figure 1. Requirement collection view
Save DOORS module requirements view

Step 2: Add the DOORS requirement collections to the test plan and generate a test case using the reconcile feature

Link the requirement collection view to the test plan in Rational Quality Manager and generate the test case using requirement collections.

Prerequisites:

To reconcile requirements in Rational Quality Manager, the following prerequisites must be met:

  • A project named "RQM project" exists in the Rational Quality Manager database. This project is associated with a DOORS ERS repository.
  • A user with suitable repository permission and client access roles should exist in the Rational Quality Manager project.
  • The Requirements Module created in DOORS should be closed, or opened in shareable edit mode.

Link the DOORS requirement collection view to the test plan:

  1. In the project named RQM Project, create a test plan named RQM Test Plan.
  2. Select the Requirement collection links section in test plan.
  3. Click Add new links.
  4. Enter the DOORS user credentials in the oauth Login window as shown in Figure 2.
Figure 2. The DOORS Oauth Login window seen while linking the test plan and requirements.
DOORS Oauth window pop up while reconciling
  1. Click Login. A DOORS dialog box appears that lists all of the DOORS projects.
  2. Expand the DOORS-RQM integration project and select Requirement view under Requirement module, as shown in Figure 3. The DOORS requirement collection view is added to RQM Test Plan.
Figure 3. Select DOORS Requirement view in RQM test plan
Requirement view displayed in RQM test plan
  1. Save the changes made in the RQM Test Plan.

Generate the test case from the requirement collection links

  1. In RQM Test Plan, select the checkbox for the Requirement collection link Requirement Module Requirement View that was added.
  2. Click on the Reconcile Requirement in collections icon as shown in Figure 4.
Figure 4. Requirements view added in Requirements collection link section of RQM Test plan
Requirement view added in RQM test plan

The Reconcile Requirements dialog box appears. It lists the DOORS requirements which do not have test coverage as shown in Figure 5.

Figure 5. Requirements from DOORS that do not have test coverage
View displaying requirements without test coverage
  1. Select the requirement that needs the test case and click Generate Test case as shown in Figure 6.
Figure 6: Reconciled requirements selected for generating test case
Requirements selected for generating test case

The test case is created using the requirement summary as the test case name as shown in Figure 7.

Figure 7. Test case creation while reconciling requirements
New Test Case creation dialog
  1. Click OK.

A link is created between the test cases and the requirement in DOORS as shown below in Figure 8.

Figure 8. Test case and back link creation with requirements in DOORS
Generate test case and link with requirements
  1. Click Next.
  2. Click Finish.

The test case is created using the requirement summary as the test case name and a link is established between these requirements and test cases for further requirement traceability and reporting purposes. The requirements are synchronized to Rational Quality Manager test plan project.

Resources

Learn

Get products and technologies

Discuss

Comments

developerWorks: Sign in

Required fields are indicated with an asterisk (*).


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Information in your profile (your name, country/region, and company name) is displayed to the public and will accompany any content you post, unless you opt to hide your company name. You may update your IBM account at any time.

All information submitted is secure.

Choose your display name



The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

Required fields are indicated with an asterisk (*).

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


All information submitted is secure.

Dig deeper into Rational software on developerWorks


static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational, DevOps
ArticleID=937091
ArticleTitle=Link requirements collections in IBM Rational DOORS to test plans in IBM Rational Quality Manager
publish-date=07302013