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

Set Testcase Plan Item using API

Hello,

We have successfully used the API to allow us to create Testplans and testcases. Due to this import it means we get alot of testcases that need to be updated by hand to add the plan item. Is it possible to set this as part of the testcase XML. I had a good look through the schemas but could not find anything?

Thanks

Adam

0 votes



2 answers

Permanent link
Hi Adam,
When you refer to "plan item" as part of the TestCase XML I assume you are referring to the "Test Plan" reference, correct?
If that is the case, then you actually need to do it the other way around. Test Plans contain references to Test Cases rather than Test Cases referring to Plans. You need to first create your Test Cases, then when you go to create your Test Plans you include references to your created Test Cases in the Test Plan.

Regards,
John

Hello,

We have successfully used the API to allow us to create Testplans and testcases. Due to this import it means we get alot of testcases that need to be updated by hand to add the plan item. Is it possible to set this as part of the testcase XML. I had a good look through the schemas but could not find anything?

Thanks

Adam

0 votes


Permanent link
Hi John,

Thanks for the quick reply, I'm actually refering to the section in a test case called "Plan Item". We currently use the references on the Test Plan to "add" the testcases to the Testplan and that works great for us.

We have a cross server communication between RQM and RTC and when we create our testcases we associate them with a Plan Item that is held within RTC. So I need to try to perform this association using the REST API.

Hope that makes sense

Thanks

Adam

Hi Adam,
When you refer to "plan item" as part of the TestCase XML I assume you are referring to the "Test Plan" reference, correct?
If that is the case, then you actually need to do it the other way around. Test Plans contain references to Test Cases rather than Test Cases referring to Plans. You need to first create your Test Cases, then when you go to create your Test Plans you include references to your created Test Cases in the Test Plan.

Regards,
John

Hello,

We have successfully used the API to allow us to create Testplans and testcases. Due to this import it means we get alot of testcases that need to be updated by hand to add the plan item. Is it possible to set this as part of the testcase XML. I had a good look through the schemas but could not find anything?

Thanks

Adam

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: Nov 24 '09, 9:47 a.m.

Question was seen: 4,492 times

Last updated: Nov 24 '09, 9:47 a.m.

Confirmation Cancel Confirm