FlavorElement Class |
Namespace: Ranorex.Core
The FlavorElement type exposes the following members.
| Name | Description | |
|---|---|---|
| FlavorElement |
Creates a new flavor element.
|
| Name | Description | |
|---|---|---|
| DontCache |
Indicates that the element should not be cached. Defaults to false.
| |
| ElementRectangle |
The client or screen rectangle of the flavor element depending on the value
returned by IsClientRectangle.
| |
| Enabled |
True if the element is enabled.
If the element cannot be enabled or disabled, return true.
| |
| EnsureVisibleBehavior |
Describes how EnsureVisible calls are forwarded to a FlavorElement.
| |
| EvaluateExpensiveAttributes |
Gets a value indicating whether expensive attributes should be evaluated.
| |
| Flavor |
The flavor of the flavor element.
| |
| FlavorName |
The flavor name of the flavor element.
| |
| ForceGeometricSearchAll |
Determines if the ElementRectangle is expected to be outside the bounds of its parent rectangle, and might be invisible.
Forces FindChildFromPointByRectangle() to switch to 'search all' behavior.
| |
| HasFocus |
True if the element has the focus.
| |
| IsClientRectangle |
Determines if the ElementRectangle property returns client or screen coordinates.
| |
| IsUidDomainRoot |
Gets a value indicating whether this flavor element can act as a unique id domain root.
| |
| MinPathAttributes |
Indicates that the minimum number of attributes to use when creating an RxPath location step for this element. Defaults to 0.
| |
| SupportsNativePathSearch |
Indicates whether this flavor element supports searching for native RxPaths
| |
| Valid |
True if the flavor element is still valid.
| |
| Visible |
True if the element is visible.
|
| Name | Description | |
|---|---|---|
| AssertArgumentType(Type, Object) |
Validates the type of an argument.
| |
| AssertArgumentType(Type, Object, Boolean) |
Validates the type of an argument.
| |
| AssertArgumentTypes(Type, Object) |
Validates a list of argument objects against a list of types.
| |
| AssertArgumentTypes(Type, Object, Boolean) |
Validates a list of argument objects against a list of types.
| |
| CanReplace |
Returns a value specifying if this flavor element can replace elem.
| |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| EnsureVisible |
Ensures that the flavor element is visible.
| |
| 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.) | |
| Focus |
Focuses the flavor element, if possible.
| |
| GetAttributeValue |
Needs to be implemented for attribute value read access.
| |
| GetChildLineageFromPoint |
Returns a list of flavor elements that is the lineage to the flavor element
at the specified screen location.
| |
| GetChildLineageFromUid |
Gets the child lineage from the current element to the element with the given unique id.
| |
| GetChildLineagesFromPath |
Gets the child lineages from the current element to the elements with the given RxPath.
| |
| GetDynamicDescriptors |
Gets the descriptors for the dynamic attributes and actions that the element supports.
| |
| GetElementCapabilities |
Supplies the role, a list of capabilities and a preferred capability names to the caller.
This method called when building a new element from the flavor element.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetInitialValues |
Gets the initial cacheable values which are then stored in the active cache session, if any.
| |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetRuntimeTokenValues |
Gets the runtime token values. This must be implemented by the flavors.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HitTest |
Performs an optional hit test on a point within the element's rectangle.
The default implementation returns 'true'.
| |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| InvokeAction |
Needs to be implemented for element action invocation.
| |
| IsEqual |
Compares to flavor elements. This should be implemented using the best comparison method available.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| SetAttributeValue |
Needs to be implemented for attribute value write access.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |