 | ReportSnapshot Method (String, Element) |
Creates and stores a snapshot of the specified target element
and adds a link to the snapshot to the report.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void Snapshot(
string message,
Element target
)
Public Shared Sub Snapshot (
message As String,
target As Element
)
Parameters
- message
- Type: SystemString
An optional message to log to the report. - target
- Type: Ranorex.CoreElement
The target element to create the snapshot of.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If target is null. |
See Also