It's all about the answers!

Ask a question

"Status" attribute for QM Test Result with LQE data source shows "com.ibm.rqm.execution.common.state.xxxx", working as designed?


Brett Bohnn (94111156) | asked Apr 10 '17, 11:25 a.m.

In the screen shot below, status is correct, it shows com.ibm.rqm.execution.common.state.passed and the verdict (actual result) is passed. Is com.ibm.rqm.execution.common.state.<verdict> expected or should this show Passed like the verdict attribute?



Thanks,
Brett

Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered Apr 11 '17, 6:17 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Brett Bohnn selected this answer as the correct answer

One other answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Apr 11 '17, 3:45 a.m.
edited Apr 11 '17, 6:41 a.m.

Hi Brett,
That is how the value is returned from RQM's API. In RPE, we use script expression to change it:
var mystate = _value;
mystate = mystate.replace("com.ibm.rqm.execution.common.state.","");
mystate = mystate.substr(0, 1).toUpperCase() + mystate.substr(1);
mystate

Seems like we cannot use script expression / string functions in JRS. You can use verdict instead of status.

Your answer


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.