Copy of Testcase/Testsuite Artifact template creates duplicate section during Excel Import
![](http://jazz.net/_images/myphoto/ecf1e08940e58dd5bdd7cc13312dd420.jpg)
Steps to reproduce:
1.Browse to Settings>Manage Artifact Template
2.Click to create a copy of any existing Test Case template. Give it a different name and seems a different ID is as well assigned. Make this testcase/testsuite template as default.
3.Add a custom section called Remarks from the same wizard.
4.Next go to open the XLS to be imported into RQM.
4.If you have a XLS to import Testcase/testsuite, create a column with Remarks and have the following lines included in the CFG file for importing custom section content.
testcase.Section("myns:Remarks","Remarks")=H
testsuite.Section("myns:Remarks","Remarks")=H
excerpt from Wiki:
https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter
To define a custom section, simply replace the first parameter with a valid name, and the second with a display name:
testcase.Section("myns:mysection","my custom section")=C
5.Now perform the XLS import.
6.If the import is successful, you will notice the Custom section "Remarks" already created (Step 3 above) is not updated, else a duplicate section with the same name is reflected
RQM Version 502.
Observations:
It is evident that the XLS import is unaware of the already existing custom section , so my search is as follows:
a)Is this expected or unexpected behaviour?
b) If yes,is there any specific changes to be made to the above mentioned syntax in CFG file?
One answer
![](http://jazz.net/_images/myphoto/ecf1e08940e58dd5bdd7cc13312dd420.jpg)
You may be using the wrong namespace for the section.
To determine the name/display name of predefined sections:
To determine the name/display name of predefined sections:
- Update the predefined section of a resource in the Rational Quality Manager UI.
-
Read the resource as XML with
abbreviate=false
. -
Locate the element in the XML document with the section name (e.g.
com.ibm.rqm.planning.editor.section.testCaseAcceptanceCriteria
). -
Locate the
extensionDisplayName
attribute in the element containing the section display name (e.g.RQM-KEY-TC-ACCEPT-CRITERIA-TITLE
).
Comments
![](http://jazz.net/_images/myphoto/ecf1e08940e58dd5bdd7cc13312dd420.jpg)
Here is my attempt to find the namespace from XML, which is empty
Also the ID as is displayed as "com.ibm.rqm.planning.editor.section.dynamicSection"
<ns2:section content="" name="Remarks" id="com.ibm.rqm.planning.editor.section.dynamicSection_1436333522390" description="FSS_Remarks Capture" />
<ns2:section content="" name="Reports to be verified" id="com.ibm.rqm.planning.editor.section.dynamicSection_1436333546373" description="FSS_Reports to be verified" />
I am missing something here. Can you help me Paul?