You should be able to do it programmatically with the OTA API. For example you can start with a requirement and list all of the child requirements with the tests which cover them. Here is the example code in Ruby:
reqs = req_factory.GetChildrenList(94) # get the start-requirement by id
reqs.each do |req|
tests = req.GetCoverList
puts "#{req.Name} is covered by #{tests.Count} tests:"
tests.each { |test| puts "#{test.Name}" }
end
Output:
Req A is covered by 3 tests:
Test A
Test B
Test C
Req B is covered by 2 tests:
Test X
Test Y
To get the requirements covered by a test case, use the function GetCoverList()
of the Test Object.
This should give you all the data needed to create a traceability matrix.