Page tree
Skip to end of metadata
Go to start of metadata


SetShowReport(showReport)

Supported in iOS Supported in Android

Description

This command enables you to configure the generated report. Determine if 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.
    • FalseSteps of test will not be shown in the report.

Benefits

User can decide if to present certain steps on the report or not. 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

  • No labels