Skip to main content
1-Visitor
October 26, 2018
Question

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

  • October 26, 2018
  • 1 reply
  • 1161 views

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
October 30, 2018

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