Importing RQM Category
Following is the screenshot of the RQM Category for Test Cases. There are 9 level of Category like dependent attributes. I have 1700 such combinations. I have them in excel. what is the best way to migrate this Categories into RQM 5.0. Is it possible with Excel Importer or XML import using RQM API (RQMURLUtility).
When I migrated the Test Cases, "Category" tag has these values defined. When importing the Test Cases, the Category values are also imported. But the hierarchy (dependency) is not defined. In the Project Properties --> Test Case Categories, the term "Associated" does not appear in adjacent to the value; this term means that the Value is associated to the Category. How to import the Categories including their dependancy. |
3 answers
Hi,
You can try using RQMExcelImporter utility for this. Sometimes you can get few errors while exporting the sheet. There is a defect opened for this issue. As a workaround try to export the same sheet second time to the same projectArea, this time export should go successfull. Attaching screenshots of a sample with its cfg content for 4 levels of categories. For more details on using the RQMExcelImporter use the wiki link https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter Comments
Chidambaram L
commented Jan 19 '15, 6:26 a.m.
to try out this example, what should be the names of the Categories ?
Yes. These will come as category names.
Chidambaram L
commented Jan 19 '15, 8:18 a.m.
If "Cheese" Category is already available in the project, the excel import throws error. It is not available, excel importter tool shows successful.
Chidambaram L
commented Jan 20 '15, 6:19 a.m.
Help with importing using REST API or OSLC also will help.
|
The sample provided by Reshma only "creates" the categories and values, but not assigning values to the categories.
To assign values to categories, the element "valueset" needs to be included in the category presentation. For example, based on the existing sample, we can PUT a category "Wine" as follows.
Note: "categoryType" in XML presentation means "category" on Web, while "category" in XML means "value" on Web.
And this should assign the two values "Pinot Noir" and "Shiraz" to the category "Wine" under the "Cheese" value "Red Leicester".
From the QM schema, the "valueset" is defined as
|
Hierarchy cannot be established for Category when using RQM Excel Importer or REST API. Import the Category values using the tools and you have manually map the Hierarchy relationship. Comments Hi Chidambaram, Are you able to achieve this multiple sub category creation using RQM Excel Importer?
Chidambaram L
commented Jan 12 '17, 2:18 a.m.
You have the answer in my first thread. Yes. I am able to import. But hierarchy is not set at the time of import.
Thiruvenkadam Dhanaraj
commented Jan 12 '17, 2:22 a.m.
Thank you Chidambaram. yes this hierarchy is set only through UI.
|
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.
Comments
Does anyone have an excel template & config file for importing categories and values for those categories?
What do you mean? Reshma's answer clearly shows what the Excel file and configuration file look like. You can also find the samples at the location where you install the Excel Importer.