• info@helpingtesters.com
  • helpingtesters

Requirement Traceability Matrix

September 25, 2016
traceability matrix , requirement traceability matrix, requirements traceability matrix template ,

The purpose of the Requirement Traceability Matrix [RTM], is to link the requirements collected during requirement specification analysis to the technical requirements and the test data.

RTM specifies all the requirements and their traceability and delivered at the completion of the Software development lifecycle.

Creating RTM focuses on linking the requirements to the test cases and ensuring that no requirements are missed.The validation process during testing is traced by using the RTM.

Requirement Traceability Matrix contains the details as follows:

1.Requirement

2.Risks

3.Type of the Requirement

4.Design Specifications.

5.Variety of Test cases(Unit Test cases,Integration Test Cases,System Test Cases,User Acceptance Test Cases).

6.Test Script Validation.

An Example for the Requirement Traceability Matrix

The Requirement Traceability Matrix is based on the Business Requirement  Document[BRD], Technical Requirement Document[TRD] and the Test Case Document.

For Example, Consider the Garment Stock Management System manages the stock and generates the reports on the completion of the production.

Consider the feature -” Adding Raw Items Required for each product”

The Business Development Document for this scenario is as given below:

BR #

 Module

Roles

Description

BR1

Login and Logout

Admin, Manager, Employee

Admin: Login.

 Homepage with all the master settings.

BR2

Raw Material Management

Admin, Manager

Manage the Raw materials

BR3

Product  Management

Admin, Manager

Manage  the Products

BR4

Manage Product-Item Configuration

 Admin, Manager

Add the product details, Configure each product with the corresponding raw items.

BR5

Order management

Admin, Manager, Employee

Order processing: Production order, Purchase Order

The process is, the manager should be able to set the product item configuration, ie.the raw materials required for the production of each product.

product-item-configuration

The Technical Requirement Document[TRD] for the scenario is given below:

TR#

Technical Requirement

TR120

The Product Name Should be selected

TR121

“Add More” button for  adding more RowItems

TR122

 At least one Row Material should be given

The Requirement Traceability Matrix [RTM] is created based on the above data.

Step 1:

Create the Test Case  Document

Testcase#

Test Case

Tests

TestData

Expected Result

TC200

Verify the Product Name

Select the Product from the combo box.

Value=” BodyFit”

Should list the data in the Combo to get selected

TC201

Direct Entry in the Combo box

Try to enter direct values in the Combo box

Value=”Not Fit”

Should not accept direct entry in the combo box

Step 2: Identify the Technical requirement matching this  Test Case

Step 3: Identify the Business Requirement(BR)  for the TR found

Step 4: Identify the Business Requirement in Test Case

Step 5: Creating the Requirement Traceability Matrix by analyzing the  above matrices and data

Business requirement

Technical Requirement

Test Case

BR4

TR120

TC200

BR4

TR121

TC201

                                 Requirement Traceability Matrix

Advantages of Using Requirement Traceability Matrix

1.The important benefit of using RTM is that RTM ensures full test coverage without failure.

2.Analyses all the test cases, compares the test cases with the technical requirements and the business requirements.

3.Detects any missing requirement effectively.

4.RTM can reduce the time for verifying the test coverage.

How the RTM helps the  Development  & Testing of the Project?

The RTM can be used to trace all the phases of the project development.It also assists the functionalities of process control and the quality management.

RTM captures all the requirements specified by the client and the actual functioning of the requirements in the developer’s view.So, the document is helpful to trace whether all the requirements are completed to deliver the expected output.

The matrix can be used for the evaluation of the testing process.In some cases, the RTM can also be used as the test planning tool as it helps to determine how many tests are required.By analyzing the RTM the testers can identify the types of testing to be performed, the test tools required for testing and the needs of the re-tests for specific requirements.

The project Managers or The team leads are responsible for preparing the Requirement Traceability Matrix[RTM].The document will be updated with the subsequent changes by the team leads processing each module of the project.

The RTM is prepared when all the test case writings are completed and preparing the test environment or just before executing the test cases.This is the phase at which the project manager should ensure that no requirement missed while the project development.

There are a number of tools for generating Requirement Traceability Matrix[RTM], which are known as Test Management Tools.

Eg:HP-QC,QAComplete,QMetry,PractiTest etc.

Out of these Test management tools, HP Quality Control[ HP-QC] by Hewlett-Packard, widely used for the generation of Requirement Traceability Matrix.

Some features of HP-QC are given below:

  • Requirements directly map to the Testcases: When RTM is created, by clicking on the defect will redirect to the relevant requirement and connected test cases.
  • Email Notifications: Customized Email notifications to communicate the status of the defects and the reports.
  • Analysis and Report: Allow the user to generate reports by using graphs, pie charts etc..
  • MS Excel  Integration: Can integrate easily with MS Excel
  • Easy Script Integration: Can  Integrate the Test Case  scripts  easily

To conclude, RTM is a complete document which can track the business requirements through the Requirement Definition, Analysis, Design, Development, and Test Strategy.The Developer and Programmer can never be wrong with the RTM, as the document tracks all the technical requirements, test cases, and the business goals.Establishing traceability helps the team to reduce leakage and wastage of the resources.

         

 

About the author

Meera Sandeep author

Leave a Reply

Your email address will not be published.