Vous êtes sur la page 1sur 8

5/25/2018 How to Create Requirements Traceability Matrix (RTM)

(https://www.guru99.com/)

Home (/) Testing

SAP Web Must Learn! Big Data

Live Projects Blog (/blog/)

How to Create Requirements Traceability Matrix (RTM)


What is Traceability Matrix?(TM)
A Traceability Matrix is a document that co-
relates any two-baseline documents that require
a many-to-many relationship to check the
completeness of the relationship.

It is used to track the requirements and to check


the current project requirements are met.
Get the ASTQB Advantage.
Register for your ISTQB exam via
ASTQB to get well-written exams:
What is RTM (Requirement Traceability
no misleading questions. Matrix)?
Requirement Traceability Matrix or RTM captures
all requirements proposed by the client or software development team and their traceability in a
single document delivered at the conclusion of the life-cycle.

In other words, it is a document that maps and traces user requirement with test cases. The
main purpose of Requirement Traceability Matrix is to see that all test cases are covered so that
no functionality should miss while doing Software testing.

Requirement Traceability Matrix – Parameters include

Requirement ID
Risks
Requirement Type and Description
Trace to design specification
Unit test cases
Integration test cases
System test cases
User acceptance test cases
Trace to test script

Types of Traceability Test Matrix


https://www.guru99.com/traceability-matrix.html 1/8
Forward
5/25/2018 traceability: This matrixHowis toused
Createto check whether
Requirements the project
Traceability Matrix (RTM) progresses in the
desired direction and for the right product. It makes sure that each requirement is applied to
the product and that each requirement is tested thoroughly. It maps requirements to test
cases.

Backward or reverse traceability: It is used to ensure whether the current product remains
on the right track. The purpose behind this type of traceability is to verify that we are not
expanding the scope of the project by adding code, design elements, test or other work that
is not specified in the requirements. It maps test cases to requirements.

Bi-directional traceability ( Forward+Backward): This traceability matrix ensures that all


requirements are covered by test cases. It analyzes the impact of a change in requirements
affected by the Defect (/the-unconventional-guide-to-defect-management.html)in a work
product and vice versa.

How to create Requirement Traceability Matrix


Let's understand the concept of Requirement Traceability Matrix through a Guru99 banking
project.

On the basis of Business Requirement Document (BRD) and Technical Requirement


Document (TRD), testers start writing test cases.

Let suppose, the following table is our Business Requirement Document or BRD
(https://docs.google.com/document/d/1FsLnZ4thNQF0MhFIFw2Q1KzOTAX89MB8BCvnpsPu5Lc/edi
usp=sharing) for Guru99 banking project.

Here the scenario is that the customer should be able to login to Guru99 banking website with
the correct password and user#id while manager should be able to login to the website through
customer login page.

https://www.guru99.com/traceability-matrix.html 2/8
5/25/2018 How to Create Requirements Traceability Matrix (RTM)

(//cdn.guru99.com/images/1-2015/012615_1111_Requirement1.png)

While the below table is our Technical Requirement Document (TRD).

(//cdn.guru99.com/images/1-2015/012615_1111_Requirement2.png)

Note: QA teams do not document the BRD and TRD. Also some companies use Function
Requirement Documents (FRD) which are similar to Technical Requirement Document but the
process of creating Traceability Matrix remains the same.

Let's Go Ahead and create RTM Testing

Step 1: Our Test Case (/test-case.html)is

"Verify Login, when correct ID and Password is entered, it should login successfully"

https://www.guru99.com/traceability-matrix.html 3/8
5/25/2018 How to Create Requirements Traceability Matrix (RTM)

(//cdn.guru99.com/images/1-2015/012615_1111_Requirement3.png)

Step 2: Identify the Technical Requirement that this test case is verifying. For our test case, the
technical requirement is T94 is being verified.

(//cdn.guru99.com/images/1-2015/012615_1111_Requirement4.png)

Step 3: Note this Technical Requirement (T94) in the Test Case.

(//cdn.guru99.com/images/1-2015/012615_1111_Requirement5.png)

Step 4: Identify the Business Requirement for which this TR (Technical Requirement-T94) is
defined

(//cdn.guru99.com/images/1-2015/012615_1111_Requirement6.png)
https://www.guru99.com/traceability-matrix.html 4/8
5/25/2018 How to Create Requirements Traceability Matrix (RTM)

Step 5: Note the BR (Business Requirement) in Test Case

(//cdn.guru99.com/images/1-2015/012615_1111_Requirement7.png)

Step 6: Do above for all Test Cases. Later Extract the First 3 Columns from your Test Suite.
RTM in testing is Ready!

(//cdn.guru99.com/images/1-2015/012615_1111_Requirement8.png)

Advantage of Requirement Traceability Matrix


It confirms 100% test coverage
It highlights any requirements missing or document inconsistencies
It shows the overall defects or execution status with a focus on business requirements
It helps in analyzing or estimating the impact on the QA team's work with respect to
revisiting or re-working on the test cases

Let's learn RTM with a example in the Video

https://www.guru99.com/traceability-matrix.html 5/8
5/25/2018 How to Create Requirements Traceability Matrix (RTM)

Please be patient. The Video will load in some time. If you still face issue viewing video click here
(/faq.html#1)

 Prev (/test-basis.html) Report a Bug


Next  (/software-testing-test-data.html)

YOU MIGHT LIKE:

SOFTWARE TESTING SOFTWARE TESTING SOFTWARE TESTING

(/application-testing.html) (/negative-testing.html) (/agile-vs-devops.html)


(/application- (/negative- (/agile-vs-
testing.html) testing.html) devops.html)
Applica on Tes ng Tutorial: Nega ve Tes ng: Complete Agile Vs. DevOps: What’s the
Methodology, Tools, Test Tutorial difference?
Plan, Best Prac ces (/negative-testing.html) (/agile-vs-devops.html)
(/application-testing.html)

SOFTWARE TESTING SOFTWARE TESTING SOFTWARE TESTING

(/benchmark-testing.html) (/unit-test-vs-integration- (/volume-testing.html)


(/benchmark- test.html) (/unit-test- (/volume-
testing.html) vs-integration- testing.html)
test.html)
BENCHMARK TESTING: Volume Tes ng Tutorial:
Defini on, Framework, Test
https://www.guru99.com/traceability-matrix.html Unit Test Vs Integra on Test Learn with Examples 6/8
Plan & Tools
5/25/2018 (/unit-test-vs-integration- (/volume-testing.html)
How to Create Requirements Traceability Matrix (RTM)

(/benchmark-testing.html) test.html)

Tes ng Tutorials
1) Introduction (/software-testing-introduction-importance.html)

2) Seven Principles (/software-testing-seven-principles.html)

3) SDLC vs STLC (/software-testing-lifecycle.html)

4) Testing Life Cycle (/software-testing-life-cycle.html)

5) Manual Testing (/manual-testing.html)

6) Automation Testing (/automation-testing.html)

7) Unit Testing (/unit-testing-guide.html)

8) Integration Testing (/integration-testing.html)

9) System Testing (/system-testing.html)

10) Smoke-Sanity Testing (/smoke-sanity-testing.html)

11) Regression Testing (/regression-testing.html)

12) Non Functional Testing (/non-functional-testing.html)

13) Test Formality (/test-tutorial.html)

14) Test Scenario (/test-scenario.html)

15) Test Case Design (/test-case.html)

16) Test Basis (/test-basis.html)

17) Traceability Matrix (/traceability-matrix.html)

18) Design your Test Data (/software-testing-test-data.html)

19) Sample Test Case Template (/download-sample-test-case-template-with-explanation-of-important-


fields.html)

20) BVA & EP (/equivalence-partitioning-boundary-value-analysis.html)

21) Decision Table Testing (/software-testing-techniques-1.html)

https://www.guru99.com/traceability-matrix.html 7/8
5/25/2018 How to Create Requirements Traceability Matrix (RTM)

About
About US (/about-us.html)
Advertise with Us (/advertise-us.html)
Write For Us (/become-an-instructor.html)
Contact US (/contact-us.html)

Career Sugges on
SAP Career Suggestion Tool (/best-sap-module.html)
Software Testing as a Career (/software-testing-career-
complete-guide.html)
Top Tools List (/testing-development-tools.html)
Certificates (/certificate-it-professional.html)

Interes ng
Books to Read! (/books.html)
Suggest a Tutorial
Blog (/blog/)
Quiz (/tests.html)
Execute online
Execute Java Online (/try-java-editor.html)
Execute Javascript (/execute-javascript-online.html)
Execute HTML (/execute-html-online.html)
Execute Python (/execute-python-online.html)

© Copyright - Guru99 2018


Privacy Policy (/privacy-policy.html)

https://www.guru99.com/traceability-matrix.html 8/8

Vous aimerez peut-être aussi