It's all about the answers!

Ask a question

How can I import multiple values for a multi-valued category (test case import)


Kimlee Gile (534) | asked Jan 13 '14, 9:03 p.m.
I am using RQM 4.0.4

I am importing test cases using Construction > Import Test Cases.  What delimiter should I use in the value attribute to cause it to import multiple values?  

See the Test Phase category in the xml below.   I want the result to have four category values selected (Regression Test, Release Checklist, Smoke Test, and System Test).   I've tried using both , and ; as a delimiter.  In both cases the import resulted in a single value for the category with the full string including , or ;.

   <testcase xmlns="http://jazz.net/xmlns/alm/qm/v0.1/">
      <title xmlns="http://purl.org/dc/elements/1.1/">Migration test - 1 (empty fields)</title>
      <owner xmlns="http://jazz.net/xmlns/alm/v0.1/">migrdev@ca.ibm.com</owner>
      <creator xmlns="http://purl.org/dc/elements/1.1/">migrdev@ca.ibm.com</creator>
       <description xmlns="http://purl.org/dc/elements/1.1/">aaa</description>
       <category term="Function" value="Release Packaging"/>
       <category term="Test Phase" value="Regression Test;Release Checklist;Smoke Test;System Test"/>
     </testcase>

Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered Jan 14 '14, 7:05 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
To create/assign a category with multiple values:

<category term="Test Type" value="Regression Test"/>
<category term="Test Type" value="Release Checklist"/>
<category term="Test Type" value="Smoke Test"/>
<category term="Test Type" value="System Test"/>

Note, Creating a test artifact with a category with multiple values does not create a multi-valued category. (103135).

In addition, you are attempting to set multiple values on a single value category (Test Phase).
Kimlee Gile selected this answer as the correct answer

One other answer



permanent link
Kimlee Gile (534) | answered Jan 14 '14, 4:05 p.m.
Perfect!   It didn't occur to me to have multiple entries for a single category.

FYI - my Test Phase category is a multi-valued category because that fits our process needs.

Your answer


Register or to post your answer.