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="">
      <title xmlns="">Migration test - 1 (empty fields)</title>
      <owner xmlns=""></owner>
      <creator xmlns=""></creator>
       <description xmlns="">aaa</description>
       <category term="Function" value="Release Packaging"/>
       <category term="Test Phase" value="Regression Test;Release Checklist;Smoke Test;System Test"/>

Accepted answer

permanent link
Paul Slauenwhite (8.4k12) | answered Jan 14 '14, 7:05 a.m.
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.