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 see chapter "Configure the level of detail in your execution results".

Example

TestStepValues - All

Take screenshots of failed TestSteps

The following settings are located under Settings->TBox->Logging->Screenshots:

Make screenshots on failed test steps

Description

Takes screenshots during the execution of TestSteps if they fail under certain conditions (see chapter "Capture the execution of your tests").

The following values are available:

  • Off: doesn't take screenshots for failed TestSteps. This is the default setting.

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

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

Example

Off

Screenshot directory

Description

Specifies where to save the screenshots.

Example

@{Environment.ProjectDir}\Screenshots

Screenshot image format

Description

Specifies the screenshot file format.

The following formats are available: bmp, gif, jpeg, png, and tiff

Example

jpeg