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

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

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

0 votes


Accepted answer

Permanent link

Brett, use the verdict property (see LQE Report: Test Plan Results Report: Status Column shows "com.ibm.rqm.execution.common.state.passed" (144023)).

Brett Bohnn selected this answer as the correct answer

0 votes


One other answer

Permanent link

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.

0 votes

Your answer

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: Apr 10 '17, 11:25 a.m.

Question was seen: 2,060 times

Last updated: Apr 11 '17, 6:41 a.m.

Confirmation Cancel Confirm