Automatically embeds a screenshot 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 AutoEmbedScreenshot( TriggerEvent triggerEvent, string attachmentName ) |
| Visual Basic (Declaration) |
|---|
Public Shared Sub AutoEmbedScreenshot ( _ triggerEvent As TriggerEvent, _ attachmentName As String _ ) |
Parameters
- triggerEvent
- Type: Gallio.Framework..::.TriggerEvent
The trigger event.
- attachmentName
- Type: System..::.String
The name to give the image attachment, or null to assign one automatically.
Remarks
If screenshots cannot be captured, the method will embed a warning message to that effect.
