How can I import multiple values for a multi-valued category (test case import)
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>
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
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).
<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).