Automatically embeds a video of the test run from this point forward when a trigger event occurs.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public static void AutoEmbedRecording( TriggerEvent triggerEvent, string attachmentName ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub AutoEmbedRecording ( _ triggerEvent As TriggerEvent, _ attachmentName As String _ ) |
Parameters
- triggerEvent
- Type: Gallio.Framework..::.TriggerEvent
The trigger event.
- attachmentName
- Type: System..::.String
The name to give the video attachment, or null to assign one automatically.
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 AutoEmbedRecording(TriggerEvent, String, 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.
If screenshots cannot be captured, the method will embed a warning message to that effect.
