cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

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

fbamberg
13-Aquamarine

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 1
awalsh
17-Peridot
(To:fbamberg)

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

Announcements


Top Tags