Skip to main content
1-Visitor
Oct 26, 2018 8:38 AM UTC
Question

Hot to get custom Test Results fields from im viewissue --showtestresults

Hi everyone,

 

I want to know if it's somehow possible to get custom Test Result fields into the output of

 

im viewissue --showtestresults <test session ID>

As of now I only get verdict and annotation back.

 

But I would like to get a custom defined Test Result field like "Actual Result" as well.

1 reply

5-Regular Member
Oct 30, 2018 5:30 PM UTC

It's not possible to get a custom field for Test Results using im viewissue. The output for test results is hardcoded.

 

You can get the custom field using tm results command.  For example:

tm results --fields=caseID,annotation,verdict,"My Test Field" --sessionID=1638

 

You can also add fields from the Test Session:

tm results --fields=Summary:session,State:session,caseID,annotation,verdict,"My Test Field" --sessionID=1638

Translate