IElement Methods |
The IElement type exposes the following members.
| Name | Description | |
|---|---|---|
| AsT |
Returns an adapter of the specified type for the element.
| |
| CaptureCompressedImage |
Captures a PNG image of the element.
| |
| EnsureVisible |
Tries to make the element visible to the user.
This is usually accomplished by bringing the element or one of its ancestors to foreground.
| |
| Find(RxPath) |
Applies a Ranorex Path to the element.
| |
| Find(RxPath, Duration) |
Applies a Ranorex Path to the element.
| |
| FindFromPoint(Point) |
Find an element by screen location. The found element is a descendant of this
instance or this instance itself.
| |
| FindFromPoint(Point, RxPath) |
Find an element by screen location and build its RxPath. The found element is a descendant of this
instance or this instance itself.
| |
| FindFromUid |
Finds a descendant element by its unique identifier attribute (defined by the owner flavor UidAttribute name).
| |
| FindSingle(RxPath) |
Applies a Ranorex Path to the element.
| |
| FindSingle(RxPath, Duration) |
Applies a Ranorex Path to the element.
| |
| Focus |
Tries to set the focus on the element.
| |
| GetAttributeValue |
Returns the value of an attribute.
| |
| GetAttributeValueText(String) |
Returns the value of an attribute converted to its string representation.
| |
| GetAttributeValueText(String, Regex) |
Returns the value of an attribute converted to its string representation. If a regex
is provided, only the part of the string representation matching the regular
expression is returned.
| |
| GetObjectData |
For Ranorex internal use only.
Populates a SerializationInfo with the data needed to serialize the target object.
| |
| GetPath(PathBuildMode) |
Builds an absolute RxPath to the element.
| |
| GetPath(PathBuildMode, Element) |
Builds an RxPath to the element, relative to another element.
| |
| GetRobustPath |
Builds an absolute robust RxPath to the element.
| |
| HasCapability |
Tests if the element possesses a certain capability (or role), by name.
| |
| InvokeAction |
Invokes an action on the element.
| |
| InvokeActionWithText |
Invokes an action on the element.
| |
| IsAncestor |
Determines whether the current element is an ancestor of the specified child element.
| |
| IsEqual |
Compares two elements by comparing their flavor elements or their screen rectangles if no flavor comparison is possible.
| |
| SetAttributeValue(String, Object) |
Sets the value of an attribute.
| |
| SetAttributeValue(String, String) |
Sets the value of an attribute.
| |
| TryFindSingle(RxPath, Element) |
Tries to apply a Ranorex Path to the element.
| |
| TryFindSingle(RxPath, Duration, Element) |
Tries to apply a Ranorex Path to the element.
|