Click or drag to resize
Ranorex

ElementInfo Class

Represents a container for a single captured element and some additional information.
Inheritance Hierarchy
SystemObject
  Ranorex.CoreElementInfo

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
[SerializableAttribute]
public class ElementInfo

The ElementInfo type exposes the following members.

Constructors
  NameDescription
Public methodElementInfo(Element, RxPath, Image, String, Guid)
Initializes a new instance of the ElementInfo class.
Public methodElementInfo(Element, RxPath, RxPath, Image, String, Guid)
Initializes a new instance of the ElementInfo class.
Top
Properties
  NameDescription
Public propertyElement
The snapshot of the element contained in the element info.
Public propertyId
Gets or sets the unique identifier for the element info.
Public propertyLiveElementOrSnapshot
The live reference element if available, otherwise the clone of the element contained in the element info.
Public propertyLiveReferenceElement
The instance of the live element this element info was created from.
Public propertyParent
Gets or sets the parent of this instance.
Public propertyPath
The path of the element contained in the element info.
Public propertyPathElementMap
Gets the path element map.
Public propertyReferenceImage
A bitmap for reference information (not for image-based, but for reference screenshots)
Public propertyReferencePath
The full-length reference path if the path was built with StepCostReduce, null otherwise
Public propertyRelativePath
The relative path of the element contained in the element info, if a root element was specified when creating the ElementInfo.
Public propertyRobustPath
The robust path of the element contained in the element info.
Public propertyScreenShot
Gets or sets the screenshot of the element.
Public propertySourceName
The logical name of the source which created this element info.
Top
Methods
  NameDescription
Public methodClone
Creates a deep clone of the ElementInfo instance.
Public methodStatic memberCreate(Element, Boolean, Boolean, String)
Creates a new element info from a given element.
Public methodStatic memberCreate(Element, RxPath, String, Boolean, Boolean, String)
Creates a new element info given an element and a path.
Public methodStatic memberCreate(Element, RxPath, String, Boolean, Boolean, String, Boolean)
Creates a new element info given an element and a path.
Public methodStatic memberCreate(Element, Element, RxPath, String, Boolean, Boolean, String, Boolean)
Creates a new element info given an element and a path.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also