Interface for communication across application boundaries.
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The ICommunicationProxy type exposes the following members.
Properties
Name | Description | |
---|---|---|
Application |
Get the parent application object.
|
Methods
Name | Description | |
---|---|---|
GetAllVisualTrees |
Gets all visual trees of the application
| |
GetPeerHashCode |
Gets the hash code of the peer.
| |
GetProperties |
Gets a collection of the properties of an element whose values we are able to transfer
from the application back to the testing framework.
| |
GetProperty |
Get a property for an automation peer
| |
GetRectangle(IAutomationPeer) |
Get the bounding rectangle for an automation peer
| |
GetRectangle(IAutomationPeer, IAutomationPeer) |
Get the bounding rectangle for one automation peer relative to another automation peer
| |
GetTextRecursive |
Gets the text content of an element or property. Recursively descends into children of
an element and collects the text of all TextBlocks contained in it. Or if the reference
is string-valued, simply returns that string
| |
GetVirtualizedViewportOffset | ||
GetVisibility |
Get the Visibility property value of an element, where the element inherits the Collapsed
value if any of its visual tree ancestors have Visibility == Collapsed
| |
GetVisualTree(String) |
Get the full visual tree of the application
| |
GetVisualTree(IAutomationPeer) | ||
GetVisualTree(String, String) |
Get the full visual tree of the application, but only if it's different from the one we already have
| |
GetVisualTree(IAutomationPeer, String) | ||
Highlight |
Highlight an element on the surface
| |
InvokeMethod |
Invokes a method on an automation peer
| |
PublishKnownControlTypes |
Publish the known control types to the Silverlight application.
| |
ScrollToVisible |
Scroll the controls containing an element so that the element comes into view
| |
SetProperty |
Set a property for an automation peer
|
See Also