Share this page

# StartScreenRecording Method (Reporter, IReporter)

Supported on UFT Developer versions 15.0.1 and later

Starts a screen recording. 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... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: