It's all about the answers!

Ask a question

RQM excel importer utility


jim Stevens (129) | asked Dec 07 '17, 6:42 p.m.

What are the commands for linking a testscript to an existing testcase?

I have tried many different ways and can not get the right combination.

One answer



permanent link
Don Yang (7.7k21109138) | answered Dec 07 '17, 9:58 p.m.

Hi, Jim

Please refer to ExcelImporter Best Practice
You may check with [4. Using Link() modifier to make 1 - n linkage with the test artifact(s) with the known id]


List 15.Configuration file talks about LinkExisting () modifier, the sample is about existing testplan and linking to
new testcases. In your case, it is existing testcase links to new testscripts, the same approach applies:

testscript.testcase=LinkExisting(C2)
Here C2 should have the existing testcase internal ids:

urn:com.ibm.rqm:testcase:3
urn:com.ibm.rqm:testcase:7
urn:com.ibm.rqm:testcase:11

(using newline to separate multiple testcases in cell C2)


Comments
jim Stevens commented Dec 08 '17, 10:42 a.m. | edited Dec 10 '17, 7:39 p.m.

Hi

So it looks like I am getting closer however I still not reading the documentation correctly.

I added column b with urn:com.ibm.rqm.testcase:1593  

1593 is the testcase

the config files has

testscript.testcase=LinkExisting(B)

I get this error now

Error when getting testcase with the id "urn:com.ibm.rqm.testcase:1593"


Don Yang commented Dec 10 '17, 7:40 p.m.

The format of "urn:com.ibm.rqm.testcase:1593" is not correct.
It should be

urn:com.ibm.rqm:testcase:1593
please correct it and try again

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.