Class DesktopApplicationWindow
Inheritance
System.Object
DesktopApplicationWindow
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.DesktopAutomation
Assembly: ArtOfTest.WebAii.dll
Syntax
public class DesktopApplicationWindow : IDesktopAutomationHost, IAutomationHost, ISupportSearchHost, IAnnotationHost
Properties
CanMaximize
Declaration
public bool CanMaximize { get; }
Property Value
System.
|
CanMinimize
Declaration
public bool CanMinimize { get; }
Property Value
System.
|
CanMove
Declaration
public bool CanMove { get; }
Property Value
System.
|
CanResize
Declaration
public bool CanResize { get; }
Property Value
System.
|
CreationDate
Declaration
public DateTime CreationDate { get; }
Property Value
System.
|
Element
Find
Declaration
public DesktopFind Find { get; }
Property Value
Implements
Handle
Declaration
public IntPtr Handle { get; }
Property Value
System.
|
IsMaximized
Declaration
public bool IsMaximized { get; }
Property Value
System.
|
IsMinimized
Declaration
public bool IsMinimized { get; }
Property Value
System.
|
IsModal
Declaration
public bool IsModal { get; }
Property Value
System.
|
IsTopmost
Declaration
public bool IsTopmost { get; }
Property Value
System.
|
Name
Declaration
public string Name { get; }
Property Value
System.
|
NativeWindow
Declaration
public Window NativeWindow { get; }
Property Value
Implements
Methods
Capture()
Declaration
public Bitmap Capture()
Returns
System.
|
Close()
Declaration
public void Close()
GetScreenRectangle()
Declaration
public Rectangle GetScreenRectangle()
Returns
System.
|
Maximize()
Declaration
public void Maximize()
Minimize()
Declaration
public void Minimize()
Move(Double, Double)
Declaration
public void Move(double x, double y)
Parameters
System.
|
System.
|
Resize(Double, Double)
Declaration
public void Resize(double width, double height)
Parameters
System.
|
System.
|
Restore()
Declaration
public void Restore()
WaitForInputIdle(Int32)
Declaration
public void WaitForInputIdle(int timeout)
Parameters
System.
|
WaitForWindowInteractionState(WindowInteractionState, Int32, Int32)
Declaration
public bool WaitForWindowInteractionState(WindowInteractionState state, int delay = 100, int timeout = 300)
Parameters
Window
|
System.
|
System.
|
Returns
System.
|
WaitForWindowVisualState(WindowVisualState, Int32, Int32)
Declaration
public bool WaitForWindowVisualState(WindowVisualState state, int delay = 100, int timeout = 300)
Parameters
Window
|
System.
|
System.
|
Returns
System.
|
Explicit Interface Implementations
IAutomationHost.Capture()
Declaration
Bitmap IAutomationHost.Capture()
Returns
System.
|
Implements
IAutomationHost.EnsureStateIsCurrent()
Declaration
void IAutomationHost.EnsureStateIsCurrent()
Implements
IAutomationHost.FriendlyName
Declaration
string IAutomationHost.FriendlyName { get; }
Returns
System.
|
Implements
IAutomationHost.GetChildHosts()
Declaration
IAutomationHost[] IAutomationHost.GetChildHosts()
Returns
Implements
IAutomationHost.GetHostRoot()
Declaration
ITargetElement IAutomationHost.GetHostRoot()
Returns
Implements
IAutomationHost.GetWindowRectangle()
Declaration
Rectangle IAutomationHost.GetWindowRectangle()
Returns
System.
|
Implements
IAutomationHost.SetWindowFocus()
Declaration
bool IAutomationHost.SetWindowFocus()
Returns
System.
|
Implements
IAutomationHost.StateHashCode
Declaration
string IAutomationHost.StateHashCode { get; }
Returns
System.
|
Implements
IAutomationHost.TechnologyType
Declaration
TechnologyType IAutomationHost.TechnologyType { get; }
Returns
Implements
IAutomationHost.UniqueId
Declaration
string IAutomationHost.UniqueId { get; }
Returns
System.
|
Implements
IAutomationHost.UpdateInterHostLinks()
Declaration
void IAutomationHost.UpdateInterHostLinks()
Implements
IAutomationHost.ValidateMouseLocation(Point)
Declaration
void IAutomationHost.ValidateMouseLocation(Point point)
Parameters
System.
|
Implements
ISupportSearchHost.LocateAllInHost(String[])
Declaration
IList<ITargetElement> ISupportSearchHost.LocateAllInHost(string[] expression)
Parameters
System.
|
Returns
System.
|
Implements
ISupportSearchHost.LocateInHost(String[])
Declaration
ITargetElement ISupportSearchHost.LocateInHost(string[] expression)
Parameters
System.
|
Returns
Implements
IAnnotationHost.Annotator
Declaration
Annotator IAnnotationHost.Annotator { get; }
Returns
Implements
IAnnotationHost.ContentWindow
Declaration
Window IAnnotationHost.ContentWindow { get; }
Returns
Implements
IAnnotationHost.FixAnnotationArea(Rectangle)
Declaration
Rectangle IAnnotationHost.FixAnnotationArea(Rectangle area)
Parameters
System.
|
Returns
System.
|
Implements
IAnnotationHost.Manager
Declaration
Manager IAnnotationHost.Manager { get; }
Returns
Implements
IAnnotationHost.ShouldDisplayAnnotation
Declaration
bool IAnnotationHost.ShouldDisplayAnnotation { get; }
Returns
System.
|