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

How to link existing testcases of one testplan in rqm to already existing new testplan using RQMExcelWordImporter

 Hi,

I have few testcases in one testplan.

Now i want to link these testcases to another testplan using RQMExcelWordImporter utility or RestAPI..

Can anyone tell me what changes need to be done in config file .


Thanks,
Nishanth

0 votes

Comments

If you only need to link a few test cases, why don't you just do it in the Web GUI?
To use the RQM Excel Importer, you need to find out the internal IDs for the test cases and the test plans first, put them in an Excel file, then write a configuration/mapping file accordingly before you can do the import.
To use REST API, you need to find out the resource URL for the test cases first (also using REST API), then construct the XML file as the payload for updating the test plan, and finally use a PUT method to modify the test plan.



One answer

Permanent link

Thanks for your reply..

testcase.XLSWorksheetID="Testcases"
testcase.XLSStartRow=2
testcase.XLSArtifactID=Q

testplan.XLSArtifactID=urn:com.ibm.rqm:testplan:3
testplan.XLSLink=testcase


I used the above code in configuration file, testcases are getting link to a testplan but old testcases of a testplan are getting overridden . There is no link between old testcases and testplan.

How to retain the older testcases of a testplan.. ?

Thanks,
Nishanth

0 votes

Comments

What's the RQM version? See if you encountered this known issue.
http://www-01.ibm.com/support/docview.wss?uid=swg21589309

If you try to link TestCases to an existing Test Plan that already has some links to existing Test Cases and are using a version earlier than 4.0.1, the existing links get replaced with the newly created ones. So you must include the existing.

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
× 12,028

Question asked: Aug 12 '14, 1:01 a.m.

Question was seen: 5,185 times

Last updated: Aug 13 '14, 1:38 a.m.

Related questions
Confirmation Cancel Confirm