Map business and functional requirements to test cases using HP ALM/Quality Center. Requirement Traceability Matrix or RTM is a document that maps and traces user requirement with prepared test cases. The goal of Requirement Traceability Matrix is to see that all the test cases are covered so that no functionality should miss while developed and testing.
Types of Traceability Matrices
1. Forward Traceability: Mapping of requirements to test cases. A forward traceability helps us see which requirements are covered in which test cases? Or whether a requirements is covered at all.
2. Backward Traceability: Mapping of test cases to requirements. A backward traceability matrix helps us see which test cases are mapped against which requirements.
3. Bi-Directional Traceability: A bi-directional traceability matrix contains both forward and backward traceability. A good example of a bi-directional traceability matrix used in software testing is the references from test cases to basis documentation and vice versa.
Benefits of Traceability Matrices
- Software is being developed as required.
- Making sure that all requirements are included in the test cases.
- Ensuring that developers are not creating features that no one has requested.
- Easy to identify missing functionalities.
- Making it easy to find out which test cases need updating if there are change requests.
- Confirms 100% test coverage.
Requirement traceability Matrix – Parameters
- Requirement ID
- Requirement Type
- Requirement Description
- Trace to Design Specification
- Unit Test Cases
- Integration Test Cases
- System Test Cases
- User Acceptance Test Cases
- Trace to Test Script
How to Prepare RTM in ALM
Traceability matrix can be generated by Navigating to “Requirements” Module and go to View > Traceability Matrix.
Click Configure Traceability Matrix > Define source requirements. Also Define Filter by linked requirements or Filter by linked tests and click OK.
Now click on “Generate Traceability Matrix” which will generate the traceability matrix based on the filter criteria.