How to generate tracebility matrix in DOORs

Hi all,
I am using DOORS

I have one SystemRequirementSpec and multiple Test cases. I have linked all my test cases with the SystemRequirementSpec and now I would like to have a traceability matrix in which it should have:
SystemRequirementSpec IDs
Test cases IDs

NOTE: I have multiple test steps in single test cases and which are linked with same SystemRequirementSpec IDs in many cases.

Is there a way to have only those SystemSpec IDs displayed along with test step IDs?

Thank you very much
Best Regards
Rajesh Sardar
RajeshSardar - Tue Jul 17 07:27:38 EDT 2012

Re: How to generate tracebility matrix in DOORs
rmoskwa - Tue Jul 17 13:13:05 EDT 2012

Have you tried to use the Analysis->Wizard... command from the menu bar?

Re: How to generate tracebility matrix in DOORs
llandale - Wed Jul 18 12:37:34 EDT 2012

Certainly give a go at inserting an Analysis Wizard generated column in your Sys Spec.

When you realize it is very difficult to get it to display exactly what you want, then try this.

  • Add an AttrDXL in the Test spec that summarizes each Test Case; along with it's test cases.
  • use the Wizard in the Sys Spec to display that attribute from the Test spec.


The AttrDXL in the Test Spec would look something like this:

 

Object o = current
string s = richTextWithOle(o."Requirement")
string r = richTextWithOle(o."Generic Requirement")
o."Generic Requirement" = richText(r)(s)


I assert confidently that formating the Attr-DXL is far easier than formatting the Wizard layout code.

Notice that the above produces no results for the TestStep objects. It should be easy to adjust the Wizard that if there is a test link but no results in the target AttrDXL, then don't display anything (rather than display an empty line).

-Louie

 

Re: How to generate tracebility matrix in DOORs
llandale - Wed Jul 18 12:41:48 EDT 2012

As for your "Matrix", put the SysReq ID and the Wizard layout in a view, then filter the view for SysReq objects that are actually "Requirements". Then export that.

IIRC, such a Matrix wants "Paragraph Numbers"; in which case adjust your Attr-DXL to display the "number(obj)" of the test case, and display the "number" of the sys req in a column.

-Louie