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

How can I append test cases to an existing test plan using the RQM Excel Importer?

Hello,

I am using RQM 5.0 with the associated version of the RQM Excel Importer.  I am importing a number of test cases and associating them to a test plan.  The cfg file that I am using is this:

testplan.dc:title="Test Plan 201506"
testplan.XLSArtifactID="TP_201506"
testplan.XLSLink=testcase

testcase.XLSStartRow=2
testcase.XLSArtifactID="TC_" & C
testcase.dc:title=C & " - " & D
testcase.dc:description=E

This works perfectly the first time around because I am associating all test cases created in the file to the test plan.  The issue arises when I have to run the same script on a second file (the importer can be unstable and sometimes freezes so I have to split up the file).  Instead of appending the test cases to the existing test case list within the test plan it overwrites them so the association from the first file is lost.

Is there a command that allows me to append test cases to a test plan rather than overwrite them?  I tried adding the line:
testcase.testplan=Link("TP_201506")
since this should be a feature based on this enhancement but I can't get it to work.

Best regards,

Andrew

0 votes



One answer

Permanent link
I found a solution which I hope may be of help to others with the same issue.  It is divided into two steps.

Step 1: Create the test plan and associate the first set of test scripts

testplan.dc:title="Test Plan 201506"
testplan.XLSArtifactID="TP_201506"
testplan.XLSLink=testcase

testcase.XLSStartRow=2
testcase.XLSArtifactID="TC_" & C
testcase.dc:title=C & " - " & D
testcase.dc:description=E

Step 2: Create successive test cases and associate them to the test plan created previously.

testcase.XLSStartRow=2
testcase.testplan=LinkExisting("TP_SIT_201506")
testcase.XLSArtifactID="TC_" & C
testcase.dc:title=C & " - " & D

This second script does not contain any test plan lines but rather a reference to the Artifact ID created in the first script.

0 votes

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

Question asked: Jun 12 '15, 5:15 a.m.

Question was seen: 3,089 times

Last updated: Jun 12 '15, 5:41 a.m.

Confirmation Cancel Confirm