Skip to main content

SeeTest Client - SetShowPassImageInReport

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 .

SetShowPassImageInReport(boolean showImage)

Description

Using this command, you can configure the generated HTML report. Based on the command, steps on the report will either have the screen shot of the device or not during the command execution.

Parameters

  • boolean showImage:
    • If set to True: It will take a screenshot from every step during the test and present them on the generated HTML report (default state).
      (This will also cause a reduced reflection update rate)
    • If set to False: It will take screenshots only for failed steps on the tests. It will present only those images in the generated report.

Benefits

This can speed up the test execution, as screenshots are not taken for every step on the script.

info

The command will be valid for the entire script unless used again.

Example

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

The only difference is the value on the SetShowPassImageInReport. Step 6 on the test is suppose to fail to demonstrate the command.

SetShowPassImageInReport(True)

  •  Test

  • Report

    info

    Note: The command itself will not be reflected on the report.

Screenshots are taken for each step (default state)

SetShowPassImageInReport(False)

  • **Test
    ****

    **

  • **Report
    **

    Screenshots are not taken for successful commands.

    Only for the failed ones