It's all about the answers!

Ask a question

How do you format a test plan in XML for import into QM.


Debra Karr (1312) | asked Jan 19 '16, 1:14 p.m.
 I want to import a test plan into QM to use as a template. I saved the Word document as Word XML. When attempting to import, it threw the error; The uploaded content does not consist of well-formed XML or does not match the XML schema for testplan.

I looked at the header and it didn't look any different than what was described. Is there any other tool I could use to do a correct conversion?
This is the top portion of the document.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?mso-application progid="Word.Document"?>
<pkg:package xmlns:pkg="http://schemas.microsoft.com/office/2006/xmlPackage"><pkg:part pkg:name="/_rels/.rels" pkg:contentType="application/vnd.openxmlformats-package.relationships+xml" pkg:padding="512"><pkg:xmlData><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/>

Example of a basic test plan XML file that adheres to the XML schema:
<?xml version="1.0"?> <testplan xmlns="http://jazz.net/xmlns/alm/qm/v0.1/"> <title xmlns="http://purl.org/dc/elements/1.1/">ClassicsJava Test Plan</title> <description xmlns="http://purl.org/dc/elements/1.1/"> Testcoverage for the Classics Java application.</description> <updated xmlns="http://jazz.net/xmlns/alm/v0.1/">2009-02-17T18:17:01.890Z</updated> <state xmlns="http://jazz.net/xmlns/alm/v0.1/">com.ibm.rqm.planning.common.new</state> <creator xmlns="http://purl.org/dc/elements/1.1/">ADMIN</creator> <owner xmlns="http://jazz.net/xmlns/alm/v0.1/">unassigned</owner> <testcase href="../testcase/RQMViewReport_TC.xml"/> <requirement href="../requirement/RQMViewReport_Req.xml"/> </testplan>


version 6.0.1

Accepted answer


permanent link
Cliff Sadler (621717) | answered Jan 19 '16, 4:19 p.m.

Go to Jazz.net

Products/rqm/download

select 6.0.1 release

click on All Downloads in the menu bar

scroll down to extras and get the addins for Word and Excel

You will be creating a "mapping" file for fields in your Test Case and what qm wants

Debra Karr selected this answer as the correct answer

Comments
Cliff Sadler commented Jan 19 '16, 4:23 p.m.

By 6.0.1 what I mean is go to the release you are using.  The schema is different for each release, so you have to use the add-ins for your release.


Debra Karr commented Jan 19 '16, 4:25 p.m. | edited Jan 19 '16, 10:00 p.m.

 Thanks for the help. 

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.