ElementSnapshot Class |
Namespace: Ranorex.Core
The ElementSnapshot type exposes the following members.
| Name | Description | |
|---|---|---|
| Config |
Gets the configuration that was used to create the snapshot with.
| |
| Description |
An optional description of the snapshot.
| |
| Element |
The snapshotted element that the snapshot was created for, i.e. the returned snapshotted
element corresponds to the element passed to the Capture method.
| |
| RootElement |
The root element of the snapshotted element tree.
| |
| ScreenShot |
A screenshot of the previously captured element.
| |
| TimeStamp |
The timestamp when the snapshot was made.
|
| Name | Description | |
|---|---|---|
| Capture(Element, Boolean) |
Creates a new snapshot from a given (live) element instance.
| |
| Capture(Element, Boolean, Boolean) |
Creates a new snapshot from a given (live) element instance.
| |
| CreateFromFile |
Load a snapshot from a file and create an instance for it.
| |
| CreateSimpleClone(Element, Int32) |
Creates a simple clone snapshot of the element.
| |
| CreateSimpleClone(Element, Int32, Boolean) |
Creates a simple clone snapshot of the element.
| |
| DeserializeXml(XmlDoc) |
Creates a snapshot from an XML document.
| |
| DeserializeXml(String) |
Creates a snapshot from an XML document string.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SaveToFile |
Saves the snapshot to a file.
| |
| SerializeXml |
Serializes the complete snapshot as an XML document string.
| |
| SerializeXmlDoc |
Serializes the complete snapshot as an XML document.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |