Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is it possible to create Test Cases that link to existing Test Scripts using the Excel/Word Importer in RQM?

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.

0 votes


Accepted answer

Permanent link

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

0 votes

Comments
Thanks for the quick response.  I was close, I was trying LinkExisting. Below is how my .cfg file looks. Pretty simple but I just want to get it working first, then expand. Do you see anything wrong with what I have below? The Test Script id is in column A in Excel.  I'm also referencing Column C which is the Test Script name. // Start looking for test cases after row 1 testcase.XLSStartRow=1   testcase.dc:title=C testcase.dc:description=C         testcase.testscript=Link(A)   testcase.XLSDelimeter=\n  

Thanks for the help....This worked:         urn:com.ibm.rqm:testscript:<id>

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 2,441

Question asked: Mar 11 '13, 1:33 a.m.

Question was seen: 156 times

Last updated: Mar 11 '13, 5:46 p.m.

Confirmation Cancel Confirm