ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
Manager class
This class manages the life spans and instances of all browser objects in the framework. It also manages the communication pipeline between the framework and all browsers.
Syntax
C#
public class Manager : IDisposable
Members
All MembersConstructorsMethodsPropertiesFieldsEvents



IconMemberDescription
ManagerNew(Boolean)
Create a new Manager.
ManagerNew(Settings)
Create a new Manager.
ActiveBrowser
Gets the last browser instance launched.
Browsers
Gets the array of browser instances connected to this instance of the Manager.
static memberCurrent
Gets the current active manager object.
Desktop
Gets the Desktop object that can be used to invoke desktop input devices like Mouse, Keyboard events.
DialogMonitor
Gets the DialogMonitor object that handles popup dialogs
DisconnectClient(String)
Disconnects the specific client. If the client is already disconnected, will simply return.
Dispose()
Dispose of resources controlled by this object.
Elements
Gets the element finder to be used for finding elements defined by the FindParam attributes. This Elements object replaces all the Find.Elements since current FindParamAttributes are not frames and test region aware.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()
Destructor
(Overrides Object.Finalize().)
GetHashCode()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()
Gets the Type of the current instance.
(Inherited from Object.)
IsClientConnected(String)
Verifies if a specific client is connected or not to this manager.
LaunchNewBrowser()
Launch a new browser using default settings. Waits for browser to connect.
LaunchNewBrowser(BrowserType)
Launch a new browser of the selected type and wait for it to connect.
LaunchNewBrowser(BrowserType, Boolean)
Launch a new browser of the specified BrowserType.
LaunchNewBrowser(BrowserType, Boolean, ProcessWindowStyle)
Launch a new browser.
LaunchNewBrowser(ProcessWindowStyle)
Launch a new browser using the default setting and the sets the browser window style. Waits for browser to connect.
Log
Gets the Log object.
MemberwiseClone()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnBrowserResponseAvailable(BrowserCommandEventArgs)
Invoke the BrowserResponseAvailable event.
OnClientConnected(ClientConnectedEventArgs)
On client connected.
OnClientDisconnected(ClientDisconnectedEventArgs)
On client disconnected.
PostRequestToBrowser(BrowserCommand, String)
Broadcast a command request to all browser instances currently connected to this manager.
RemoveBrowser(String)
Remove a browser from collection
SetNewBrowserTracking(Boolean)
Enable or disable new browser tracking. Use to track pop-up browser windows. When enabled, new pop-up browser windows will be added to the browsers[] collection.
Settings
Gets the settings object that this Manager instance was initialized with.
Start()
Initialize the communication pipelines.
ToString()
Returns a String that represents the current Object.
(Inherited from Object.)
Wait
Gets a wait object that can be used to wait on specific actions on elements/controls or custom predicate actions
WaitForNewBrowserConnect(String, Boolean, Int32)
Wait for a specific browser instance to connect using a timeout.
Inheritance Hierarchy
Object
Manager

Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)