Click or drag to resize
Ranorex

ElementEngine Class

The ElementEngine is a singleton which controls element tree construction, element lifecycle, and manages all flavors and capabilities registered by the plugins.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Ranorex.CoreElementEngine

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public sealed class ElementEngine : MarshalByRefObject

The ElementEngine type exposes the following members.

Properties
  NameDescription
Public propertyAdapterTypes
All adapater types registered by plugins, retrievable by the Name of their corresponding Capability.
Public propertyCapabilities
All capabilities registered by plugins including all standard roles, retrievable by their Name.
Public propertyCapabilityLookup
A lookup table that provides a mapping from a capability's Name, DisplayName, ShortName, and ShortDisplayName to the corresponding capability.
Public propertyFlavors
All flavors registered by plugins, retrievable by their Name.
Public propertyGlueRules
The complete list of tree construction rules registered by the plugins.
Public propertyStatic memberInstance
Retrieves the instance of the element engine.
Public propertyStatic memberIsLicensed
Gets a value indicating whether a valid Ranorex license has already been acquired for this process.
Public propertyRootElement
The root element of the element tree.
Public propertyTimeoutEpsilon
Gets or sets the time used for internal sleep operations in between find operations using a timeout.
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFetchCurrentUtcTime
fetching Current UTC time
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 methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodStatic memberGetProductFeatures
Gets the features supported by the currently used license.
Public methodStatic memberGetSubscriptionLicenseExpiryDate
fetching ExpiryDate
Public methodStatic memberGetSubscriptionLicenseLicensedTo
fetching Subscription LicensedTo
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodStatic memberIsCustomSubscriptionLicenseManagerUsed
Is custom subscription license manager server used
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodRegister(Capability)
Registers a capability with the element engine.
Public methodRegister(Flavor)
Registers a new flavor with the element engine.
Public methodRegister(LineageGlueRule)
Registers a tree construction rule with the element engine.
Public methodRegister(String, Type)
Registers an adapter type for a given capability name with the element engine.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWaitForValidLicense
Waits for valid license to become available.
Public methodStatic memberWaitForValidLicense(Duration, Duration)
Waits for valid license to become available.
Top
See Also