InterfaceIAutomationHost
Implemented by automation hosts that contain ITargetElement.
Definition
Namespace:ArtOfTest.Common
Assembly:ArtOfTest.WebAii.dll
Syntax:
public interface IAutomationHost : ISupportSearchHost
Derived Classes:
Inherited Members
Properties
FriendlyName
A friendly name that represents this host.
Declaration
string FriendlyName { get; }
Property Value
A friendly name that represents this host at its current state.
StateHashCode
Returns a hashcode that uniquely identifies the current content state of this host.
TechnologyType
Get the technology type of the host
Methods
EnsureStateIsCurrent()
Force the automation host to be up to date. (i.e. RefreshDomTree in Html)
Declaration
void EnsureStateIsCurrent()
GetChildHosts()
Return a list of child automation host that this host contains.
Declaration
IAutomationHost[] GetChildHosts()
Returns
An array of child hosts
GetHostRoot()
Return the root target element of this host.
Declaration
ITargetElement GetHostRoot()
Returns
The root target element
GetWindowRectangle()
Gets the rectangle of window containing this host
SetWindowFocus()
Makes the window containing this host active
Declaration
bool SetWindowFocus()
Returns
Whether we successfully set the window to active
UpdateInterHostLinks()
Ensures that any links between hosts are up-to-date (Infrastructure use only)
Declaration
void UpdateInterHostLinks()
ValidateMouseLocation(Point)
Validate the location of the mouse.