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

"Import Test Case" in RQM 2.0.1.1 iFix 2 doesnot w

I did not succeed to import a test case
The example in help "Importing test cases into RTational Quality Manager"


<xml>
<testcase>
<title>New Customer Order Test Case</title>
<description>Test the ordering
functionality of the Classics Java application.>
<updated>2008-08-23T01:00:21.437Z</updated>
<state>com.ibm.rqm.planning.common.new</state>
<creator>mary</creator>
<owner>unassigned</owner>
<regressionTest>false</regressionTest>
<weight>20</weight>
<category>
<category>
<category>
</testcase>

even i make it wellformed
Can someone pls provide an example ? Thanks

0 votes



4 answers

Permanent link
I did not succeed to import a test case
The example in help "Importing test cases into RTational Quality Manager"


<xml>
<testcase>
<title>New Customer Order Test Case</title>
<description>Test the ordering
functionality of the Classics Java application.>
<updated>2008-08-23T01:00:21.437Z</updated>
<state>com.ibm.rqm.planning.common.new</state>
<creator>mary</creator>
<owner>unassigned</owner>
<regressionTest>false</regressionTest>
<weight>20</weight>
<category>
<category>
<category>
</testcase>

even i make it wellformed
Can someone pls provide an example ? Thanks


This example (and the example in the documentation - see http://publib.boulder.ibm.com/infocenter/rqmhelp/v2r0/topic/com.ibm.rational.test.qm.doc/topics/t_import_testcase.html) is not well-formed since the end tag for the description element is missing (see defect https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/53202).

When well-formed, it imports into RQM 2.0.1.1 iFix3. What are your symptoms?

Note, you can use the RQM Reportable REST API to determine the XML structure of an existing test case (or any other supported test resources) by following these steps:

https://jazz.net/wiki/bin/view/Main/RqmApi#ScenarioCreateTip

Also, you can use the RQM XML schema documentation (see https://jazz.net/wiki/bin/view/Main/RqmApi#Detailed_Schema_Documentation) to determine the read-only/writable properties of the supported test resources.

0 votes


Permanent link
Also check the project area in /jazz/admin to make sure that your user id has the XML import permission.

0 votes


Permanent link
Thank you Paul. Had a msiatke. Now I can import a test case file with exactly one testcase i.e.
<xml>
<testcase>
...
</testcase>

However I seem to be too stupid to create a test case file with more than one testcase something like ....

<xml>
<Testcase>
<testcase>
...
</testcase>
<Testcase>
<testcase>
...
</testcase>

Can you pls help. Thanks.

0 votes


Permanent link
You can only import one test case per XML file from the UI. To import multiple test resources in one operation, use the RQM Excel/Word Importer (https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter) or the RQM Reportable REST API (https://jazz.net/wiki/bin/view/Main/RqmApi).

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: Jul 12 '11, 2:53 a.m.

Question was seen: 6,562 times

Last updated: Jul 12 '11, 2:53 a.m.

Confirmation Cancel Confirm