Method | Description | |
---|---|---|
Attach ( |
Attaches with existing process
|
|
Attach ( int processId ) : |
Creates an Application object for existing process
|
|
Attach ( string executable ) : |
Attaches with existing process
|
|
AttachOrLaunch ( |
Attaches to the process if it is running or launches a new process
|
|
Close ( ) : void |
Tries to find the main window, then close it. If it hasn't closed in 5 seconds, kill the process
|
|
Dispose ( ) : void | ||
Equals ( object obj ) : bool |
Two applications are equal if they have the same process
|
|
Find ( Predicate |
Looks at all the windows visible for the application and finds one which matches the condition. The match is run against the title of the windows
|
|
FindSplash ( ) : White.Core.UIItems.WindowItems.Window | ||
GetHashCode ( ) : int | ||
GetWindow ( White.Core.UIItems.Finders.SearchCriteria searchCriteria, White.Core.Factory.InitializeOption initializeOption ) : White.Core.UIItems.WindowItems.Window |
Find the first window which belongs to this application and satisfies the critera.
|
|
GetWindow ( string title ) : White.Core.UIItems.WindowItems.Window |
Get visible window
|
|
GetWindow ( string title, White.Core.Factory.InitializeOption option ) : White.Core.UIItems.WindowItems.Window |
Get visible window
|
|
GetWindows ( ) : List |
All windows belonging to the application
|
|
Kill ( ) : void |
Kills the applications and waits till it is closed
|
|
KillAndSaveState ( ) : void |
Kills the application. Read Application.Kill. It also saves the application test execution state. This saves the position of the window UIItems which would be loaded next time automatically for improved performance. You would need to use InitializedOption.AndIdentifiedBy for specifying the identification of window.
|
|
Launch ( |
Lauches the process and creates and Application object for it
|
|
Launch ( string executable ) : |
Runs the process identified by the executable and creates Application object for this executable
|
|
WaitWhileBusy ( ) : void |
Waits till application is busy.
|
Method | Description | |
---|---|---|
Application ( ) : System |
Method | Description | |
---|---|---|
Application ( |
||
ReplaceLast ( string replaceIn, string replace, string with ) : string |
public static Attach ( |
||
process | ||
return |
public static Attach ( int processId ) : |
||
processId | int | |
return |
public static Attach ( string executable ) : |
||
executable | string | |
return |
public static AttachOrLaunch ( |
||
processStartInfo | ||
return |
public Find ( Predicate |
||
match | Predicate |
|
initializeOption | White.Core.Factory.InitializeOption | option for the window which matches the condition |
return | White.Core.UIItems.WindowItems.Window |
public FindSplash ( ) : White.Core.UIItems.WindowItems.Window | ||
return | White.Core.UIItems.WindowItems.Window |
public GetWindow ( White.Core.UIItems.Finders.SearchCriteria searchCriteria, White.Core.Factory.InitializeOption initializeOption ) : White.Core.UIItems.WindowItems.Window | ||
searchCriteria | White.Core.UIItems.Finders.SearchCriteria | |
initializeOption | White.Core.Factory.InitializeOption | found window would be initialized with this option |
return | White.Core.UIItems.WindowItems.Window |
public GetWindow ( string title ) : White.Core.UIItems.WindowItems.Window | ||
title | string | Title text of window displayed on desktop |
return | White.Core.UIItems.WindowItems.Window |
public GetWindow ( string title, White.Core.Factory.InitializeOption option ) : White.Core.UIItems.WindowItems.Window | ||
title | string | Title text of window displayed on desktop |
option | White.Core.Factory.InitializeOption | Option which would be used to initialize the window. |
return | White.Core.UIItems.WindowItems.Window |
public static Launch ( |
||
processStartInfo | ||
return |
public static Launch ( string executable ) : |
||
executable | string | location of the executable |
return |