Share this page

# StartScreenRecording Method (Reporter, IReporter)

Starts a screen recording, saved as an .avi file. A test cannot start multiple screen recordings in parallel.

To stop the recording, use StopScreenRecording.

This method has multiple overloads.

In this topic:

## StartScreenRecording (Boolean, String) Method

Starts a screen recording.

C# Syntax

    void StartScreenRecording(
       boolean useCompression,
       string outputPath
    )

Parameters

useCompression
Specifies whether to record the whole scene or present a time-lapse video.
Possible values:

- true. The recorded video represents a time lapse of the recorded scene
- false. the full scene is recorded

outputPath
  The target location for the recorded video.
  A link to the recording is added to the test results. If you enter a relative path, the path is relative to the report folder.

Back to top

## StartScreenRecording (Boolean) Method

Starts a screen recording to save in the report folder. A link to the recording is added to the test results.

C# Syntax

    void StartScreenRecording(
       boolean useCompression
    )

Parameters

useCompression
Specifies whether to record the whole scene or present a time-lapse video.
Possible values:

- true. The recorded video represents a time lapse of the recorded scene
- false. the full scene is recorded

Back to top

## StartScreenRecording (String) Method

Starts a screen recording of a time lapse video.

C# Syntax

    void StartScreenRecording(
       string outputPath
    )

Parameters

outputPath
  The target location for the recorded video.
  A link to the recording is added to the test results. If you enter a relative path, the path is relative to the report folder.

Back to top

## StartScreenRecording () Method

Starts screen recording of a time lapse video saved to the reporter folder. A link to the recording is added to the test results.

C# Syntax

    void StartScreenRecording()

Back to top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: