Settings - Logging

The following setting is located under Settings->TBox->Logging:

Report Successful Execution of

Description

Specifies the level on which Tosca logs execution details:

  • TestCases: logs execution details until the TestCase level if the TestCase passes.

    If the TestCase fails or is paused, Tosca logs the execution details on the TestStepValue level for the failed or paused TestStep, along with the details on the TestStepValue level for all passed TestSteps before the failed or paused one.

Default behavior: sample failed TestCase with setting Report Successful Execution of set to TestCases

Note that you can change this behavior. If you only want to see the details of the failed or paused TestStep in your test results, configure the setting ExtendedTestcaseExecutionLogging in the ToscaCommander.dll.config file.

Changed behavior: sample failed TestCase with setting Report Successful Execution of set to TestCases

  • TestSteps: logs execution details on the TestStep level if the TestStep either passes, fails, or is paused.

  • TestStepValues - All: logs execution details on the TestStepValue level if the TestStep either passes, fails, or is paused. This is the default value.

  • TestStepValues - Verify only: works only with TestStepValues whose ActionMode is Verify. Tosca logs execution details on the TestStepValue level if the TestStep either passes, fails, or is paused. Note that if a TestStep fails, Tosca logs its execution results, even when the ActionMode differs from Verify.

For more information on how to configure the level of detail, refer to check out "Configure the level of detail in your execution results".

Example

TestStepValues - All

Screenshots

You can find the following settings at Settings->TBox->Logging->Screenshots:

Make screenshots on failed test steps

Description

Takes screenshots all TestSteps that fail for specific reasons. This setting helps you document your test runs.

Choose one of the following values:

  • Detection Failure: Take a screenshot if Tricentis Tosca can't detect a control, screen, or application.

  • Verification Failure: Take a screenshot if Tricentis Tosca can't detect or verify a control, screen, or application.

  • Off: Don't take screenshots. This is the default value.

Example

Verification Failure

Screenshot directory

Description

Specifies where Tosca saves the screenshots of failed TestSteps.

If you use Tricentis File Service, you don't have to specify a path. In this case, Tosca saves the screenshots to the Tricentis File Service.

Example

@{Environment.ProjectDir}\Screenshots

Screenshot image format

Description

Specifies the screenshot format.

Choose one of the following values: bmp, gif, png, tiff, or jpeg (default).

Example

jpeg