It's all about the answers!

Ask a question

What values are needed for priority for a test case import

Kimlee Gile (534) | asked Jan 13 '14, 6:31 p.m.
I am using RQM 4.04.   I am importing a test case using the import test cases feature under the Construction menu.

I've found documentation for a couple of different values, but they don't seem to work.  I've tried using   low,  "low", literal.priority.120, and "literal.priority.120"

My XML file has the following:

<?xml version="1.0" encoding="UTF-8"?>
   <testcase xmlns="">
      <title xmlns="">Migration test - 1 (empty fields)</title>
       <priority xmlns="">literal.priority.120</priority>
      <description xmlns="">xxx</description>

Accepted answer

permanent link
Ara Masrof (3.2k15) | answered Jan 15 '14, 8:22 a.m.
edited Jan 15 '14, 8:23 a.m.
Here is an example that will import and set the priority (this was done in version 4.0.3)

<?xml version="1.0" encoding="utf-8"?>
<testcase xmlns=""
<category term="Test Pase" value="TestPahse One import"/>
<dc:title>TC Example </dc:title>
<dc:description>Populates the description field in the summary section</dc:description>
<category term="Function" value="Function One Import"/>
<category term="Importer" value="Added this on this on fly"/>
Kimlee Gile selected this answer as the correct answer

Kimlee Gile commented Jan 15 '14, 10:10 a.m.

Ah, it was the attribute that I had for priority that was causing mine not to work.   I removed  xmlns=""   then literal.priority.130  worked.   Thanks

2 other answers

permanent link
Paul Slauenwhite (8.4k12) | answered Jan 14 '14, 6:49 a.m.
See Document values for all qm:priority properties. (103133)

In the meantime, I would suggest to set the priority for a test artifact in the RQM UI and GET the test artifact using the RQM REST API (see

Kimlee Gile commented Jan 14 '14, 4:24 p.m.

This is a standard RQM field and a shipped import feature.  (Note that I am not asking about the Excel/Word import tool, I'm asking about the Import Test Case feature under the Construction menu.)  I'm just looking for the answer.   I have no other reason to learn how to use the API at this time so it seems like an excessive use of time to pick it up just for this.

Paul Slauenwhite commented Jan 15 '14, 8:34 a.m.

Hi Kimlee,

If you want to use the Import from a local XML file feature in RQM, you need to know something about the RQM REST API, specifically the RQM XML schema.

In most cases, this type of information is contained in the RQM XML schema documentation.  However, in this case, there was an omission (hence defect 103133).  See the defect for the new text added to the RQM XML schema documentation.

permanent link
Ara Masrof (3.2k15) | answered Jan 14 '14, 8:21 a.m.
To follow up on Paul's comment, you could also use the ExcelWord import tool with the 'Export to File' option and analyze the resulting XML 
This can help in getting the syntax correct
Here is an example of a Test Plan Priority set to 'High'

<dc:title>TP using importer (populate default sections)</dc:title>
<dc:description>Populates the description field in the summary section</dc:description>

Kimlee Gile commented Jan 14 '14, 4:17 p.m.

I can't use the Excel/Word import tool because I don't have Excel and there's no way to request it.   Even the exception process for requesting Office is gone as of Jan 1st, 2014.

I've tried using literal.priority.130 in my XML file for the import test case option under the Construction menu and it does not work.   So I'm looking for the values to put in XML for THAT import tool that will results in for the standard Low, Medium and High.

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.