CLI Reference > Workflows and Documents Commands > tm viewresult
 
tm viewresult
displays test result details for the specified test cases
Synopsis
tm viewresult [--sessionID=value] [--[no]showSteps[--[no]substituteParams] [--height=value] [--width=value] [--x=value][--y=value] [--hostname=value] [--port=value] [--password=value][--user=value] [(-?|--usage)] [(-g|--gui)] [(-F value|--selectionFile=value)][--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]][(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=value][--forceConfirm=[yes|no]] caseID|sessionID:caseID...
Description
This command allows you to view the test result details for one or more test cases. Attachments and related items display as a comma separated list of attachment names and related item IDs.
For example,
tm viewresult --showSteps --sessionID=8071 9023
displays the test result details, including test steps, for test case 9023 in test session 8071.
Options
This command takes the universal options available to Integrity Lifecycle Manager commands, as well as some general options. See the options reference page for descriptions.
--sessionID=value
the ID of the test session item that you want to view result details for.
--[no]showSteps
specifies whether to show test steps for test case results. The default is to show the test steps.
--[no]substituteParams
specifies whether to replace parameter references in text fields with a parameter value. For more information on how parameter values are determined, see the Integrity Lifecycle Manager Help Center.
caseID|sessionID:caseID...
specifies the test case IDs to view test result details for. The test cases must all belong to the session specified in the --sessionID option. If the session is not specified in the --sessionID option, you must specify the session ID and case ID for each test case. If you do not specify this option, you must specify the --sessionID option, and result details are displayed for all test cases in that session.
* 
The test session item type and the test case item type must be visible to you in order for you to view the test result details.
See Also
Commands: tm createresult, tm editresult, tm results, tm extractattachments, tm stepresults, tm resulteditor, tm deleteresult, tm editresult, tm testcases, tm setresults, tm viewuntested
Miscellaneous: options