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.
Inheritance Hierarchy
ArtOfTest.WebAii.CoreManager
Namespace: ArtOfTest.WebAii.Core
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The Manager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Manager(Boolean) |
Create a new Manager.
| |
Manager(Settings) |
Create a new Manager.
|
Properties
Name | Description | |
---|---|---|
ActiveApplication |
Returns the active wpf application managed by the Manager.
| |
ActiveBrowser |
Gets the ActiveBrowser which is the last browser launched by the current instance of the Manager.
| |
Applications |
Returns a read-only list of applications managed by the Manager
| |
Browsers |
Gets the array of browser instances connected to this instance of the Manager.
This should be considered a one-time snapshot and long-term object references to it should be avoided.
| |
Current |
Gets the current active manager object.
| |
Desktop |
Gets the Desktop object that can be used to invoke desktop input devices like Mouse, Keyboard
events. Desktop actions are only allowed if the active user session is in interactive mode.
http://docs.telerik.com/teststudio/user-guide/knowledge-base/test-execution/no-tests-execute-on-locked-machine.aspx
| |
DialogMonitor |
Gets the DialogMonitor object that handles the dialogs collection,
dialog monitoring and automatic handle of unexpected dialogs.
| |
Disposed |
Track whether dispose has been called.
| |
Elements |
Returns the element finder object used for finding elements defined by their FindParam attributes.
Used to set element finder settings like waitForElement timeout, element merge, etc...
| |
ErrorStatus |
Set or get the error status of the manager as string.
| |
Http |
Gets the HttpProxy instance if UseHttpProxy is set to true, else
will return null.
| |
Log |
Gets the Log object.
| |
PipeName | ||
Settings |
Gets the settings object that this Manager instance was initialized with.
| |
Wait |
Returns a synchronous wait object that can be used to wait for specific actions on elements/controls
or custom predicate actions.
|
Methods
Name | Description | |
---|---|---|
AddNewBrowser |
Add a new browser to the Manager.Browsers[] collection.
| |
ClearMappingsOverride |
Clear the global override mappings for the specified type.
| |
ConfigureBrowser |
Aplly browser settings, required for automation to work correctly.
In order to aplly the settings correctly all browser instances of the specified type must be closed.
| |
ConnectToApplication |
Connect to an active wpf application.
| |
Dispose |
Dispose of resources controlled by this object.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Destructor
(Overrides ObjectFinalize.) | |
GetBrowserConfigurationStatus |
Get browser configureation status.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LaunchNewApplication(ProcessStartInfo) |
Launch new wpf app using ProccessStartInfo
| |
LaunchNewApplication(String, String) |
Launch a new WPF Application for automation
| |
LaunchNewBrowser |
Launch a new browser using default settings. Waits for browser to connect.
| |
LaunchNewBrowser(ProcessWindowStyle) |
Launch a new browser using the default settings and sets the browser window style.
Waits for browser to connect.
| |
LaunchNewBrowser(BrowserType) |
Launch a new browser of the selected type and wait for it to connect.
| |
LaunchNewBrowser(ProcessWindowStyle, String) |
Launch a new browser using the default settings, sets the browser window style
and passes arguments to the browser. Applicable for internet explorer and silverlight out of browser.
Waits for browser to connect.
| |
LaunchNewBrowser(BrowserType, Boolean) |
Launch a new browser of the specified BrowserType.
| |
LaunchNewBrowser(BrowserType, Boolean, ProcessWindowStyle) |
Launch a new browser of the specified BrowserType and set window style
| |
LaunchNewBrowser(BrowserType, Boolean, ProcessWindowStyle, String) |
Launch a new browser of the specified BrowserType and set window style.
Pass arguments to the browser launch proccess. Applicable for internet explorer and silverlight out of browser.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterMappingsOverride |
Overrides the set of mappings for a spcified control type.
| |
RemoveBrowser |
Remove a browser from the Manager.Browsers[] collection.
| |
SetNewBrowserTracking |
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 Manager.Browsers[] collection.
| |
Start |
Initialize the communication pipelines and the Test Manager.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UndoBrowserConfiguration |
Restore browser to previous configuration before the calibration.
| |
WaitForNewBrowserConnect(String, Boolean, Int32) |
Wait for a specific browser instance to connect using a timeout.
| |
WaitForNewBrowserConnect(String, Boolean, String, Int32) |
Wait for a specific browser instance to connect using a timeout.
|
Events
Name | Description | |
---|---|---|
ActiveBrowserChanged |
Occurs when active browser is changed.
This event will fire after attachment to the new browser instance.
|
See Also