Use the IApplication interface to manage a wrapped Silverlight application.
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The IApplication type exposes the following members.
Properties
Name | Description | |
---|---|---|
Bounds |
Gets the rectangular bounds of this app.
| |
Desktop |
Gets the Desktop object for this app.
| |
EnableValidateMouseLocation |
Whether to validate that the mouse will be within the application's bounds before performing a mouse action
| |
Find | ||
FriendlyName |
A friendly name that represents this host.
(Inherited from IAutomationHost.) | |
IsConnected |
Checks if we're connected to the automation client
| |
IsRecordingHost | ||
ManagedProxy |
Gets the ManagedProxy for this app.
| |
Popups | ||
StateHashCode |
Returns a hashcode that uniquely identifies the current
content state of this host.
(Inherited from IAutomationHost.) | |
TechnologyType |
Get the technology type of the host
(Inherited from IAutomationHost.) | |
UniqueId |
Returns a unique id that identifies this host
(Inherited from IAutomationHost.) | |
VisualTree |
Gets the VisualTree of this app.
|
Methods
Name | Description | |
---|---|---|
Capture |
Return a bitmap of the host
(Inherited from IAutomationHost.) | |
Capture(FrameworkElement) |
Captures the image of an element
| |
ElementFromPoint | ||
EnsureElementClickable | ||
EnsureStateIsCurrent |
Force the automation host to be up to date. (i.e. RefreshDomTree in Html)
(Inherited from IAutomationHost.) | |
GetChildHosts |
Return a list of child automation host that this host contains.
(Inherited from IAutomationHost.) | |
GetHostRoot |
Return the root target element of this host.
(Inherited from IAutomationHost.) | |
GetScreenRectangle |
Gets the rectangle of the element in screen coordinates
| |
GetSubtreeFriendlyName |
Gets a friendly name for the specified sub-tree of this IApplication
| |
GetToolTipText |
Gets the text of a tooltip on the element
| |
LocateAllInHost |
Find all target elements from the root of this host.
(Inherited from ISupportSearchHost.) | |
LocateInHost |
Find a target element from the root of this host.
(Inherited from ISupportSearchHost.) | |
PopulateVisualTree |
Ensures that the IApplication's visual tree is in a valid state
| |
RefreshVisualTrees | ||
ResizeContainer |
Resizes the browser or application window so its content rectangle is (x, y, width, height)
if possible. If that rectangle doesn't fit on the screen, then try it at the upper left corner
of the screen and as close to that size as possible.
| |
ScrollElementVisible |
Scrolls a control into view
| |
SetWindowFocus |
Makes the window containing this host active
(Inherited from IAutomationHost.) | |
UpdateInterHostLinks |
Ensures that any links between hosts are up-to-date (Infrastructure use only)
(Inherited from IAutomationHost.) | |
ValidateMouseLocation |
Validate the location of the mouse.
(Inherited from IAutomationHost.) |
See Also