RTM is made up of 4 words.
Requirement + Trace + Ability + Matrix
It is a Matrix (Document) where we should be able to trace each and every requirement
So, How do we trace each and every requirement.
We map all the test cases and test scenarios to the related requirement in this Document
It’s a Document where Test Cases, Test Scenarios and Requirements are linked or mapped to each other.
We divide each requirement into different Test Scenarios and then into different Test Cases.
Whenever we plan a project, then it is very important that each and every requirement is developed and tested, So that we don’t miss any requirement. So we make sure that we create Test Case for each and every requirement and execute them.
Our main agenda is at the end, to deliver the quality product to the end user or we can say, to deliver a defect free product to end user. So, If we make sure that we have created test case for each and every requirement and then we have executed the test cases and found them passed, then we can say, that we have delivered a quality product or a defect free product to the end user.
The Biggest Question that always comes to mind , that how do we make sure that each and every requirement has been tested and the answer to that is Requirement Traceability Matrix (RTM).
It is basically a spreadsheet, which has following columns
Requirement ID | Requirement Description | Test Scenario | Test Cases | Test Status | Defect |
|
Let’s take an example of a Project, where we have to do Software testing for an eCommerce Website. So, we will have some requirements in that project, and we will write test scenarios and test cases for those requirements, Now if we want to make sure that we have covered all the requirement, then we have to trace the requirements in RTM, So We will create an RTM and it will look like this.
Requirement ID | Requirement Description | Test Scenario | Test Cases | Test Status | Defect |
1 | Create Account or Register Functionality | Test the Create Account Functionality with email ID and Mobile No. | Test the Create Account Functionality with email ID | Passed | |
Test the Create Account Functionality with Mobile No. | Failed | 123 | |||
2 | Login Functionality | Test Login functionality for valid and invalid credentials | Test Login functionality for valid user name and valid password | Passed | |
Test Login functionality for valid user name and invalid password | Passed | ||||
Test Login functionality for invalid user name and valid password | Passed | ||||
Test Login functionality for invalid user name and invalid password | Failed | 124 |
We have covered below topics today
What is the purpose of a requirement traceability matrix (RTM) in software development, and how is it used to measure project success?
Objects, Classes and Constructor in Javascript Classes and Objects A class in any programming language…
We will start from object oriented programming basics like What are different concepts in Object…
Why we can not over ride a Constructor This is a very important question, that,…
What is Arrow Function In the last session, We had discussed about Anonymous Function. Anonymous…
What is Anonymous Function Anonymous Function is a type of function which has no name…
What is Map, Reduce and Filter Map Filter and Reduce are higher order methods for…