It's all about the answers!

Ask a question

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


Ulrich Zehetbauer (611) | asked Jul 12 '11, 2:53 a.m.
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

4 answers



permanent link
Paul Slauenwhite (8.4k12) | answered Jul 12 '11, 7:03 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Paul McMahan (13614) | answered Jul 12 '11, 10:49 a.m.
JAZZ DEVELOPER
Also check the project area in /jazz/admin to make sure that your user id has the XML import permission.

permanent link
Ulrich Zehetbauer (611) | answered Jul 13 '11, 3:44 a.m.
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.

permanent link
Paul Slauenwhite (8.4k12) | answered Jul 13 '11, 6:48 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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).

Your answer


Register or 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.