[Closed] How to assign value to attributes in tets case using Excel Importer
![]()
I have an Custom attribute "1. Pre Condition" in Summary block in Test cases.
I need to assign value to it. I have tried below methods which dint work: 1. testcase.variables.name="1. Pre-Conditions".value=K 2. testcase.Section("myns:com.ibm.rqm.planning.editor.section.Summary","RQM-KEY-TC-PRE-COND-TITLE")=K Could you tell me the right way to assign values to custom attributes. Thanks, Regards, Chethan Kumar R |
Accepted answer
![]()
You can refer to https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter#Custom_Attributes about how to get identifier.
To get Custom Attribute Identifier follow below steps :
testcase.customAttributes identifier="_._Pre-Conditions".name="1. Pre-Conditions".type="SMALL_STRING".value=K
Please verify in your environment what the identifier should be.
Kumar Kumar selected this answer as the correct answer
Comments Custom attribute "1. Pre-Conditions" is already available in my environment.
|
One other answer
![]()
For custom attribute, the syntax is:
testcase.customAttributes identifier="<Custom_attribute_identifier>".name="1. Pre-Conditions".type="SMALL_STRING".value=K
Please see https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter#Custom_Attributes about how to get custom attribute identifier.
Comments Could you please tell me where to find the "<custom_attribute_identifier>".
|