Specifies whether to add a screenshot to the report.
| C# | Visual Basic | Visual C++ |
public enum CreateScreenshot
Public Enumeration CreateScreenshot
public enum class CreateScreenshot
| Member | Description |
|---|---|
| Never |
Never add a screenshot.
|
| OnFail |
Add a screenshot if the validation fails.
|
| OnSuccess |
Add a screenshot if the validation succeeds.
|
| Always |
Always add a screenshot.
|
