RanorexRanorex Documentation
ElementEngine Class
NamespacesRanorex.CoreElementEngine
The ElementEngine is a singleton which controls element tree construction, element lifecycle, and manages all flavors and capabilities registered by the plugins.
Declaration Syntax
C#Visual BasicVisual C++
public class ElementEngine : MarshalByRefObject
Public Class ElementEngine _
	Inherits MarshalByRefObject
public ref class ElementEngine : public MarshalByRefObject
Members
All MembersMethodsProperties



IconMemberDescription
AdapterTypes
All adapater types registered by plugins, retrievable by the Name of their corresponding Capability.

Capabilities
All capabilities registered by plugins including all standard roles, retrievable by their Name.

CapabilityLookup
A lookup table that provides a mapping from a capability's Name, DisplayName, ShortName, and ShortDisplayName to the corresponding capability.

CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Flavors
All flavors registered by plugins, retrievable by their Name.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService()()()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
GlueRules
The complete list of tree construction rules registered by the plugins.

InitializeLifetimeService()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Instance
Retrieves the instance of the element engine.

IsLicensed
Gets a value indicating whether a valid Ranorex license has already been acquired for this process.

MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Register(Flavor)
Registers a new flavor with the element engine.

Register(Capability)
Registers a capability with the element engine.

Register(LineageGlueRule)
Registers a tree construction rule with the element engine.

Register(String, Type)
Registers an adapter type for a given capability name with the element engine.

RootElement
The root element of the element tree.

TimeoutEpsilon
Gets or sets the time used for internal sleep operations in between find operations using a timeout.

ToolMode
Gets or sets a value indicating whether Ranorex is currently run by a tool, i.e. using a graphical user interface.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WaitForValidLicense()()()
Waits for valid license to become available.

WaitForValidLicense(Duration, Duration)
Waits for valid license to become available.

Inheritance Hierarchy

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)