Settings - Execution recorder

The following settings are located at Settings->TBox->Execution recorder:

Enable Execution Recorder

Description

Enable recording and specify which recordings Tricentis Tosca to keep. To do so, enter one of the following values:

  • Enabled keeps recordings of all executions, passed and failed.

  • EnableOnlyOnFailure keeps only recordings of failed executions, canceled executions, and executions that returned an exception. Note: since Tosca doesn't know in advance which tests will pass or fail, it records all executions. As soon as a TestCase reports as successful, Tosca deletes the respective recording.

  • Disabled disables recording.

Example

Enabled

Output Filename Template

Description

By default, Tricentis Tosca saves recordings in the name format [TestCaseName] [ExecutionStartTime]. If you execute the TestCase via ScratchBook, Tosca replaces the TestCase name with Scratchbook.

Optionally, you can change the name format. However, you need to make sure to keep the name of the file unique. To do so, keep [ExecutionStartTime] as part of the name format.If you run the same TestCase multiple times and the file name is not unique, Tosca runs into an override issue and can't save the later recordings.

You can use any character in the name except characters that the operating system of the executing machine considers a special character. If your TestCase name contains a special character, Tosca automatically removes it.

Example

Release1_Nightly_[ExecutionStartTime].mp4

Output path

Description

Define where Tricentis Tosca should save the recordings. You can enter paths or environment variables.

Example

@{Environment.ProjectDir}\Recordings or C:\MyRecordings