C# Class UiaControlsTest.TargetApp

Inheritance: IDisposable
Afficher le fichier Open project: TestStack/uia-custom-pattern-managed Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void
Dispose ( ) : void
Start ( ) : void
TargetApp ( string cmdLine ) : System
TargetApp ( string cmdLine, string args ) : System
TryOpenExisting ( ) : bool
WaitForWindow ( int pid, string className, string windowTitle ) : IntPtr

Private Methods

Méthode Description
GetClassName ( IntPtr hwnd, StringBuilder str, int nMaxCount ) : int
GetDesktopWindow ( ) : IntPtr
GetWindow ( IntPtr hwnd, int dir ) : IntPtr
GetWindowText ( IntPtr hwnd, StringBuilder str, int nMaxCount ) : int
GetWindowThreadProcessId ( IntPtr hwnd, int &pid ) : int
IsWindowVisible ( IntPtr hwnd ) : bool
PostMessage ( IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam ) : IntPtr
TryFindWindowNow ( int pid, string className, string windowTitle ) : IntPtr
WaitForWindow ( ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

TargetApp() public méthode

public TargetApp ( string cmdLine ) : System
cmdLine string
Résultat System

TargetApp() public méthode

public TargetApp ( string cmdLine, string args ) : System
cmdLine string
args string
Résultat System

TryOpenExisting() public méthode

public TryOpenExisting ( ) : bool
Résultat bool

WaitForWindow() public static méthode

public static WaitForWindow ( int pid, string className, string windowTitle ) : IntPtr
pid int
className string
windowTitle string
Résultat System.IntPtr