It's all about the answers!

Ask a question

RQM Excel Importer : Unable to populate Custom Attribute for Test Script

V Niranjan (12545274) | asked Nov 25 '13, 11:49 p.m.

I have a custom attribute called 'Pre-Condition' for a Test Script in RQM 4.0.3.

I am using the RQM Excel Importer and the excel sheet has the Pre-Condition field populated with data. After running the Importer the Pre-Condition field is not being populated in RQM.

I am using the syntax as follows in the CFG file.


Is this the correct syntax for Custom attribute for a Testscript? Please let me know.


2 answers

permanent link
anoop mc (74811197221) | answered Nov 26 '13, 2:27 a.m.

Hi Niranjan,

Here is the code which I have used while importing pre-condition from excel and it worked. ( highlighted in Bold)

// test case defined with  definite cell locations
testcase.alm:state xmlns:alm=""=A5
testcase.category term="Class".value=D5
testcase.category term="Module".value=A3
testcase.category term="Level".value=D7
testcase.category term="Phase".value=B5
testcase.category term="Designer".value=A7
testcase.category term="Creation Date".value=B7


V Niranjan commented Nov 26 '13, 8:59 p.m.

Hi Anoop

Thanks for the reply. I have created this custom attribute for TestScript. Will the syntax be similar?

Niranjan V

permanent link
ma chi (3111) | answered Nov 26 '13, 9:32 p.m.
 Hi Niranjan, 

     Adding custom attributes to an artifact

if we have 2 customAttributes  testcaseCustomAttribute1 , and testcaseCustomAttribute1 in one testcase, the customAttributes testcaseCustomAttribute1 and testcaseCustomAttribute2 should be created in RQM UI before running the RQM Excel Importer.

we can config the .cfg file like

//for testcaseCustomAttribute1 put identifier in Excel Cell M3 and name in Cell N3 and type in Cell M4.  

or using testcase.customAttributes identifier=" Custom_attribute_0_" .name=" testcaseCustomAttribute1" .type=" SMALL_STRING" .value=O

//for testcaseCustomAttribute2 put identifier in Excel Cell Q3 and name in Cell R3 , if type isn't specified, the "SMALL_STRING" is by default.

     you can find a example in the RQM Importer installation directory.For example: C:\Program Files\IBM\RQMExcelImporterX64\Samples

      sample TestCases 001 with custom attributes.xls and TestCases 001 with custom attributes.cfg will show you how to format it.

Your answer

Register or to post 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.