It's all about the answers!

Ask a question

How to get RQM Test Result custom properties (CLA) in RPE


Emmanuel Joyeaux (11) | asked Nov 26 '20, 12:49 p.m.
edited Dec 08 '20, 10:07 a.m. by Muralidhar Rajagopal (10114)
Test-Case Results created by the command line adapter can include "Custom Properties".
(note : these are different from "custom attributes").

I want to include a list of those Custom properties with their respective values in a RPE report.
They are listed as single XML nodes directly below <executionresult> node, but their name can vary since they are "custom", e.g.

<ns2:executionresult    >
......
<CustomProp1 xmlns="http://jazz.net/xmlns/alm/rqm/common"> my value for custom prop 1</CustomProp1>
<CustomProp2 xmlns="http://jazz.net/xmlns/alm/rqm/common"> my value for custom prop 2</CustomProp2>
<CustomProp3 xmlns="http://jazz.net/xmlns/alm/rqm/common"> my value for custom prop 3</CustomProp3>
<CustomProp4 xmlns="http://jazz.net/xmlns/alm/rqm/common"> my value for custom prop 4</CustomProp4>
<adapterId xmlns="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1">_-oFNILn3EeqRlblqvlM73g</adapterId>
</ns2:executionresult>
Since the name of the nodes varies, I did not find a way to get a xsd scheme allowing RPE to capture them.
I tried to use executionresult/markerAny, but its value is empty.

Is there a way to get RPE dynamically gather the names of child-nodes  below executionresult, or at least get the "rest of the XML" uninterpreted (after markerAny) as a string (that I could parse in javascript) ???

Be the first one to answer this question!


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.