Is it possible to create Test Cases that link to existing Test Scripts using the Excel/Word Importer in RQM?
Michael Walker (992●15●201●157)
| asked Mar 11 '13, 1:33 a.m.
retagged Sep 26 '13, 2:16 p.m. by Lisa Caten (342●9●13)
I have a Project Area with several Test Scripts that I'd like to create matching Test Cases for using the Excel/Word importer. I downloaded the Test Scripts to csv file and then planned to import at least Name and Description columns as Test Cases.
This part works fine but I'd also like to link the Test Case to the Test Script at the same time. I have the Test Script ID value from the download csv. Is this possible? I found this in the Team Wiki for the Importer. It sounds like it only works the other way around if the Test Cases already exist and you're importing Test Scripts to link. I was able to use the sample where Test Scripts get created with matching Test Cases and linked together, but in my case the Test Script already exist
LinkExisting()
modifier - indicates a reference to the master test artifacts, content is the external id or the excel cell/column that stores the external id of the master artifact on RQM server.
i.e. testplan links with testcase, then test plan is master artifact and testcase is sub/child artifact. test case link with test script, then test case is master test artifact, and test script is child artifact. test suite link with test case, then test suite is master test artifact, and test case is child artifact. |
Accepted answer
Hi Michael, for this scenario, you can using Link() modifier. testcase.testscript=Link("test script internal/external id") Michael Walker selected this answer as the correct answer
Comments
Michael Walker
commented Mar 11 '13, 2:54 a.m.
Thanks for the quick response. I was close, I was trying LinkExisting.
Michael Walker
commented Mar 11 '13, 5:46 p.m.
Thanks for the help....This worked:
hi Hao Wan,
N Z
commented Sep 23 '13, 12:32 a.m.
Did you resolve this?
I'm also facing the same problem, and can't get it to work.
The documentation is abysmal!
|
One other answer
Hello Sugam & N Z,
You can link existing testcases to new test scripts using the following line in cfg file: testscript.testcase=LinkExisting(E) Your Excel file will have the id of the existing test case in column E in the format urn:com.ibm.rqm:testcase:<id> e.g. urn:com.ibm.rqm:testcase:2
Hope that helps!
Comments Hi Vidya, Does the same thing apply to test suites. I want to upload new test cases which need to be linked to exisitng test suites( 120 and 140 are the artifact ids) So i have my test suites in cell E2 , one below the other , using new line as follows
urn:com.ibm.rqm:testsuite:120
In config file i have the following syntax testcase.testsuite=LinkExisting(E2) But i find that this only links the test cases to test suite 120 and not to 140. Any help would be much appreciated.
|
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.