IHost Interface |
Namespace: Ranorex.Core
The IHost type exposes the following members.
| Name | Description | |
|---|---|---|
| Children |
Gets the immediate children of this adapter.
(Inherited from IAdapter.) | |
| Element |
The element associated with this adapter.
(Inherited from IAdapter.) | |
| Parent |
Gets the parent of this adapter.
(Inherited from IAdapter.) | |
| ScreenRectangle |
The bounding rectangle of the element in screen coordinates.
(Inherited from IAdapter.) | |
| Visible |
True if the element is visible.
(Inherited from IAdapter.) |
| Name | Description | |
|---|---|---|
| AsT |
Returns an adapter of the specified type for the underlying element of the current adapter.
(Inherited from IAdapter.) | |
| CloseApplication(Int32) |
Closes an application with the specified process ID by trying to close its main window.
| |
| CloseApplication(Int32, Duration) |
Closes an application with the specified process ID by trying to close its main window.
| |
| CloseApplication(Element, Duration) |
Closes an application or web page which contains the specified element.
If the application does not react to the close request within the specified grace period,
the application process is killed.
| |
| FilterT |
Filters the given element list by the specified adapter type. The returned adapter list
correspond to the elements that could be converted to the specified adapter type.
(Inherited from IAdapter.) | |
| Find(RxPath) |
Applies a Ranorex Path to the adapter, returning all elements which match the path.
(Inherited from IAdapter.) | |
| Find(RxPath, Duration) |
Applies a Ranorex Path to the adapter, returning instances of a specific adapter type (e.g. Role or Capability).
(Inherited from IAdapter.) | |
| FindChildT |
Finds an immediate child element of the given capability adapter type.
(Inherited from IAdapter.) | |
| FindChildT(String) | Obsolete.
Finds an immediate child element of the given capability adapter type with a specific label.
(Inherited from IAdapter.) | |
| FindChildrenT |
Finds immediate child elements of the given capability adapter type.
(Inherited from IAdapter.) | |
| FindChildrenT(String) | Obsolete.
Finds immediate child elements of the given capability adapter type with a specific label.
(Inherited from IAdapter.) | |
| FindDescendantT |
Finds a descendant of the given capability adapter type.
(Inherited from IAdapter.) | |
| FindDescendantT(String) | Obsolete.
Finds a descendant of the given capability adapter type with a specific label.
(Inherited from IAdapter.) | |
| FindDescendantsT |
Finds all descendants of the given capability adapter type.
(Inherited from IAdapter.) | |
| FindDescendantsT(String) | Obsolete.
Finds all descendants of the given capability adapter type with a specific label.
(Inherited from IAdapter.) | |
| FindSingle(RxPath) |
Applies a Ranorex Path to the adapter, returning an Element.
(Inherited from IAdapter.) | |
| FindSingle(RxPath, Duration) |
Applies a Ranorex Path to the adapter, returning an Element.
(Inherited from IAdapter.) | |
| GetDevToolsSession |
Get the devtools session.
| |
| KillApplication |
Kills the process which contains the specified element.
| |
| OpenBrowser(String, String) |
Opens a web page in the specified browser.
| |
| OpenBrowser(String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean) | Obsolete.
Opens a web page in the specified browser.
| |
| OpenBrowser(String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) |
Opens a web page in the specified browser.
| |
| OpenBrowser(String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) | Obsolete.
Opens a web page in the specified browser.
| |
| OpenBrowser(String, String, String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) |
Opens a web page in the specified browser.
| |
| TryFindSingle(RxPath, Element) |
Tries to apply a Ranorex Path to the adapter, returning an Element.
(Inherited from IAdapter.) | |
| TryFindSingle(RxPath, Duration, Element) |
Tries to apply a Ranorex Path to the adapter, returning an Element.
(Inherited from IAdapter.) | |
| TryFindSingleT(RxPath, T) |
Tries to apply a Ranorex Path to the adapter, returning a specific adapter type (e.g. Role or Capability).
(Inherited from IAdapter.) | |
| TryFindSingleT(RxPath, Duration, T) |
Tries to apply a Ranorex Path to the adapter, returning a specific adapter type (e.g. Role or Capability).
(Inherited from IAdapter.) |
| Name | Description | |
|---|---|---|
| TryGetAsWebDriverEndpoint |
Tries to convert the current host to a WebDriver endpoint.
(Defined by HostExtensions.) |