It's all about the answers!

Ask a question

"Status" attribute for QM Test Result with LQE data source shows "", working as designed?

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

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


Accepted answer

permanent link
Paul Slauenwhite (8.4k12) | answered Apr 11 '17, 6:17 a.m.
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("","");
mystate = mystate.substr(0, 1).toUpperCase() + mystate.substr(1);

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.