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

Import Test Cases from Excel

Anyone know how I can import test cases from Excel and link them to an already existing Test Plan?

I added testplan.dc:title=O2 & testplan.XLSLink=testcase to my cfg file and all it did was create a new Test Plan and not link any Test Cases. :?

Any pointers on what I'm doing wrong would help. Looked at the samples and they haven't helped.

0 votes



3 answers

Permanent link
Unfortunately, the test case resource does contain a reference to a containing test plan (see https://jazz.net/wiki/bin/view/Main/RqmApi#Detailed_Schema_Documentation). Otherwise, you could use the Link() keyword (see https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/51360). However, you could specify the test plan with the XLSArtifactID keyword (see https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter#Keywords_and_special_cases) set to the it's external ID in your configuration file.

0 votes


Permanent link
Thanks for the links. I have to say, I'm not much clearer on whether it's possible to import a test case to an existing test plan.

I tried using the XLSArtifactID keyword set to the external ID in the cfg file, but it's not working. I'm guessing I'm not understanding how external IDs work.

0 votes


Permanent link
The idea is to update the existing test plan with the references to the test cases. For example:

testplan.XLSArtifactID=B1
testplan.dc:title="test plan title"
testplan.XLSLink=testcase

testcase.XLSStartRow=1
testcase.dc:title=A
...

Note, https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/56614. As a side effect, addition test plans (equaling the same number of test cases) are created.

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: Sep 20 '11, 6:21 a.m.

Question was seen: 4,302 times

Last updated: Sep 20 '11, 6:21 a.m.

Confirmation Cancel Confirm