It's all about the answers!

Ask a question

Tracking requirement coverage from test plans error


zhao li (157) | asked Feb 23 '18, 2:57 a.m.
reference url:

https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.rational.test.qm.doc%2Ftopics%2Ft_track_reqcolls_frm_tstpln.html


please follow these step:
STEP1: On DNG, creat a new Requirement-B  and RequirementCollection-C, B belongs to C
STEP2: On RQM, Link Requirement-B with Testcase-A. 
STEP3: On RQM  Creat testplan-D,then add A, B, C to RQM testplan-D
STEP4: in testplan-D Click Requirement Collection Links.
STEP5:  Click View As > Coverage   

QUESTION :why is column Linked Test cases still empty?
I have already did all the link job in STEP 1/2/3 

4 answers



permanent link
Krupa Gunhalkar (4512) | answered Feb 27 '18, 4:23 a.m.
JAZZ DEVELOPER

Hi Zhao,

Its working and Linked Test Cases column do show the test cases linked. Refer the attache screenshot.
Which version your RQM server is? if you still see an issue, please raise a support request, it might be environment specific.

Linked Test cases Coverage View

Thanks,
Krupa Gunhalkar



permanent link
zhao li (157) | answered Feb 28 '18, 8:09 p.m.

 Hi Krupa

thank you  for your attention!  I am now using version 6.0.2

I guess Root Cause is in STEP2:

When importing doc-format document as a requirement module, DNG automatically created a module and a folder that contains same series of requirements.

If we want to link case-A to requirement-a in RQM, there are 2 ways to choose a requirement:

1.Choose requirement-a from its folder

2.Choose requirement-a from its module

Only requirements that chosen from module or collection can be shown in Testplan-Requirement coverage!

Although these two requirements share the same Artifact-ID, their location is different.

Which result in a new problem:

RQMexporter tool syntax as below can only link requirement  the first way(choose from its folder). 
testcase.requirement=Linkexisting() 
so how can we figure this out?


permanent link
Krupa Gunhalkar (4512) | answered Mar 01 '18, 4:27 a.m.
JAZZ DEVELOPER

Hi Zhao,

Second way is also also possible, provided we give the correct URI of the requirement based on its location.
It can be either under a module or under a folder.

So based on the URI provided under the Linkexisting(), the test cases are linked to the appropriate requirements from the RQM exporter tool.

Thanks,
Krupa Gunhalkar


permanent link
zhao li (157) | answered Mar 01 '18, 7:59 p.m.

 Hi Krupa 

Its my fault.What I exactly want to use is  LinkexistingbyID()
I've tried to add different URL in Linkexisting() ,it worked well.
when we have thousands of requirement, LinkexistingbyID() will be a proper way to do it.
but this syntax will link requirements by folder.


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.