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

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

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) ???

0 votes


Be the first one to answer this question!

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: Nov 26 '20, 12:49 p.m.

Question was seen: 506 times

Last updated: Dec 08 '20, 10:07 a.m.

Confirmation Cancel Confirm