RQM - how to fill TC costume atributes via CommandLineAdapter?
Hi,
|
3 answers
You can make use of built-in execution variable. In the test script editor go to Execution Variable section. Make sure the check box for built-in execution variable is checked. Run the associated test case. In the test case result editor, open the Execution variable section and check the execution variables. You can also update the execution variable from commandline script like this echo RQM_BUILDRECORD_NAME=Rec15 >> "%qm_ExecutionVariablesFile%" Please read the RQM help doc for execution variables for help. |
Thanks but this is not answering my question,
the steps that you described are correct for costume properties not costume attributes. (categories).
I need to update something like
<CustomAttributeSerializable> <o:p> </o:p> <scope>TESTCASE_RESULT</scope> <o:p> </o:p> <type>SMALL_STRING</type> <o:p> </o:p> <name>TIC #</name> <o:p> </o:p> <description></description> <o:p> </o:p> <required>true</required> <o:p> </o:p> <itemId>_T0VNwB3dEeiKBbt06PVoQw</itemId> <o:p> </o:p> <additionalScope>NO_SCOPE</additionalScope> <o:p> </o:p> </CustomAttributeSerializable> <o:p> </o:p>
|
In latest CLA (6.0.5), test case results are created once adapter starts executing it. You can get the result id using built in execution variable. Next you will need to write your own utility to update result with custom attribute using reportable rest api and call it from the script once execution is over. |
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
custome attributes also called categories