Skip to main content

SeeTest Client - SetShowReport

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

SetShowReport**(showReport)**

Description

This command enables you to configure the generated report. Determine if you want to show steps on the report or not. By default, the command is set to SetShowReport(True).

Parameters

  • showReport: Boolean true/false
    • True**:** Steps of test will be shown in the report.
    • False**:** Steps of test will not be shown in the report.

Benefits

Users can decide if they want to present certain steps on the report or not. In the Video Report, skipped steps will also be skipped from the video itself i.e. step images will not be collected during setShowReport(false) mode.

All steps after SetShowReport(False) will not be presented on the report. Steps will be presented again only after SetShowReport(True).

Example

Scenario: In this example, we will execute the same test (Login scenario in the Demo application EriBank).

The only difference is the value on the showReport command.

SetShowReport(True): Default status of report. All steps will be presented on the report.

Test

Report

SetShowReport(False): In this case, all steps after this command will not be presented on the report. If there is no matching command until end of the script, no steps will be presented on the script at all. 

Test

Report