Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to map Custom Field/Attribute value while importing Test Scripts into RQM

Unable to map Custom Field/Attribute value while importing into RQM.


I am trying to import Test Scripts with Custom Attributes but it is giving errors.
Here is the error message
Initializing.....
Reading Configuration File....
Getting artifacts from document - "TestScripts.xlsx".....
Error: Configuration File, Line 18, Found a value that reduced to "type="SMALL_STRING"", but was expecting a value equivalent to a column, cell, or literal.
Error: Configuration File, Line 18, Found a value that reduced to "type="SMALL_STRING"", but was expecting a value equivalent to a column, cell, or literal.

Exporting Aborted: Errors found!
-----------------------------------------------------------------------------------------------------------------------------------------------
Configuration File Syntax:
// This configuration file creates a test script.

// Start looking for scripts after row 2
testscript.XLSStartRow=5

// use the data in the first row of a found script's column B
testscript.XLSArtifactID=B
testscript.dc:title=B
testscript.dc:description=C

// the literal "execution" will be put into the step type tag, so all steps will be of type execution
testscript.steps.type="execution"
testscript.steps.description=E
testscript.steps.title=D
testscript.steps.name=D
testscript.steps.expectedResult=F
testscript.steps.expectedResult=G
testscript.steps.customAttributes identifier="customAttribute1 value".name="customAttribute1 value" type="SMALL_STRING".value=I

Do I need to correct anything?

Thank you

0 votes


Accepted answer

Permanent link

 Hi Riaaz,


1. Looks like there is some issue with testscript.steps.customAttributes identifier="customAttribute1 value".name="T3 value" type="SMALL_STRING".value=I.
Please see https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter#Custom_Attributes for valid valid syntax for config (.cfg) file.

R Z selected this answer as the correct answer

0 votes


5 other answers

Permanent link

 Hi Riaaz,


It seems you have missed a '.' before type="SMALL_STRING".
Please try testscript.steps.customAttributes identifier="customAttribute1 value".name="customAttribute1 value".type="SMALL_STRING".value=I.

It should work. 
Monika Rajput

0 votes


Permanent link

 Hi Mounika,


Thank you for the quick response.
I made the change and tried importing it but it fails.
This time it gave me different error message:
Error sending to server 19.07.001_001_Controlled_water_temperature_and_Setpoint_determination of type testscript
The remote server returned an error: (500) Internal Server Error.

Exporting completed with 1 failures!

Any idea what this is pointing to?


0 votes


Permanent link

 Hi Riaaz,


Please check the server does not have custom attribute of same name. If it has, then rename the attribute name in excel and try sending again.

If it is does not work after this then please open a defect against RQM and attach excel and cfg file for further investigation.

0 votes


Permanent link

Hi Monika,


I might be missing something, Is it okay if I just share you the configuration and Input file?
Just want to double sure before I log a ticket to IBM Support.
Please have a check and let me know your findings.

Thank you so much.

Input File
InputFile

Configuration File
CFG
RQM Test Script View
RQM Test Script View


0 votes


Permanent link

Sure, will look into it.

Thank you so much

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 27 '18, 9:21 a.m.

Question was seen: 3,433 times

Last updated: Oct 01 '18, 4:47 a.m.

Confirmation Cancel Confirm