Starts recording a screen capture video of the entire desktop.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static ScreenRecorder StartRecording() |
| Visual Basic (Declaration) |
|---|
Public Shared Function StartRecording As ScreenRecorder |
Return Value
The recorder.
Remarks
Recording a screen capture video can be very CPU and space intensive particularly when running tests on a single-core CPU. We recommend calling StartRecording(CaptureParameters, Double) with a Zoom factor of 0.25 or less and a frame rate of no more than 5 to 10 frames per second.
Exceptions
| Exception | Condition |
|---|---|
| Gallio.Common.Media..::.ScreenshotNotAvailableException | Thrown if a screenshot cannot be captured at this time. |
