Importing RQM Categories
Hello World,
I used to import many categories by importing one Test Plan and one Test Case with all the categories in the XML file. With the new setup (as from 3.0) this is not possible. Every entry results in a new category with the same name (which is an error to my opinion).
What is an XML example to be imported to add a name-value category to a TP or TC?
Thanks,
Marc van Lint
I used to import many categories by importing one Test Plan and one Test Case with all the categories in the XML file. With the new setup (as from 3.0) this is not possible. Every entry results in a new category with the same name (which is an error to my opinion).
What is an XML example to be imported to add a name-value category to a TP or TC?
Thanks,
Marc van Lint
2 answers
As of RQM 3.0.1, categories are a separate resource type (see https://jazz.net/wiki/bin/view/Main/RqmApi#Resources_and_their_Supported_Op).
To determine the XML representation of the resource, see:
https://jazz.net/wiki/bin/view/Main/RqmApi#ScenarioCreateTip
Please open a new RQM defect for the issue with multiple categories created with the same name.
I wonder if the copySettings script could work for you in the interim.
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.rational.test.qm.doc/topics/t_copyproject.html
It seems to handle updates and if you want to be able to do this without having network access to the source server, you can by following the suggestions at this post:
https://jazz.net/forum/questions/76444/how-to-copy-categories-with-rqmcoputility-between-projects
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.rational.test.qm.doc/topics/t_copyproject.html
It seems to handle updates and if you want to be able to do this without having network access to the source server, you can by following the suggestions at this post:
https://jazz.net/forum/questions/76444/how-to-copy-categories-with-rqmcoputility-between-projects