Manager Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
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

SystemObject
  ArtOfTest.WebAii.CoreManager

Namespace:  ArtOfTest.WebAii.Core
Assembly:  ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax

public class Manager : IDisposable

The Manager type exposes the following members.

Constructors

  NameDescription
Public methodManager(Boolean)
Create a new Manager.
Public methodManager(Settings)
Create a new Manager.
Top
Properties

  NameDescription
Public propertyActiveApplication
Returns the active wpf application managed by the Manager.
Public propertyActiveBrowser
Gets the ActiveBrowser which is the last browser launched by the current instance of the Manager.
Public propertyApplications
Returns a read-only list of applications managed by the Manager
Public propertyBrowsers
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.
Public propertyStatic memberCurrent
Gets the current active manager object.
Public propertyDesktop
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
Public propertyDialogMonitor
Gets the DialogMonitor object that handles the dialogs collection, dialog monitoring and automatic handle of unexpected dialogs.
Public propertyDisposed
Track whether dispose has been called.
Public propertyElements
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...
Public propertyErrorStatus
Set or get the error status of the manager as string.
Public propertyHttp
Gets the HttpProxy instance if UseHttpProxy is set to true, else will return null.
Public propertyLog
Gets the Log object.
Public propertyPipeName
Public propertySettings
Gets the settings object that this Manager instance was initialized with.
Public propertyWait
Returns a synchronous wait object that can be used to wait for specific actions on elements/controls or custom predicate actions.
Top
Methods

  NameDescription
Public methodAddNewBrowser
Add a new browser to the Manager.Browsers[] collection.
Public methodStatic memberClearMappingsOverride
Clear the global override mappings for the specified type.
Public methodConfigureBrowser
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.
Public methodConnectToApplication
Connect to an active wpf application.
Public methodDispose
Dispose of resources controlled by this object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Overrides ObjectFinalize.)
Public methodGetBrowserConfigurationStatus
Get browser configureation status.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLaunchNewApplication(ProcessStartInfo)
Launch new wpf app using ProccessStartInfo
Public methodLaunchNewApplication(String, String)
Launch a new WPF Application for automation
Public methodLaunchNewBrowser
Launch a new browser using default settings. Waits for browser to connect.
Public methodLaunchNewBrowser(ProcessWindowStyle)
Launch a new browser using the default settings and sets the browser window style. Waits for browser to connect.
Public methodLaunchNewBrowser(BrowserType)
Launch a new browser of the selected type and wait for it to connect.
Public methodLaunchNewBrowser(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.
Public methodLaunchNewBrowser(BrowserType, Boolean)
Launch a new browser of the specified BrowserType.
Public methodLaunchNewBrowser(BrowserType, Boolean, ProcessWindowStyle)
Launch a new browser of the specified BrowserType and set window style
Public methodLaunchNewBrowser(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.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberRegisterMappingsOverride
Overrides the set of mappings for a spcified control type.
Public methodRemoveBrowser
Remove a browser from the Manager.Browsers[] collection.
Public methodSetNewBrowserTracking
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.
Public methodStart
Initialize the communication pipelines and the Test Manager.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUndoBrowserConfiguration
Restore browser to previous configuration before the calibration.
Public methodWaitForNewBrowserConnect(String, Boolean, Int32)
Wait for a specific browser instance to connect using a timeout.
Public methodWaitForNewBrowserConnect(String, Boolean, String, Int32)
Wait for a specific browser instance to connect using a timeout.
Top
Events

  NameDescription
Public eventActiveBrowserChanged
Occurs when active browser is changed. This event will fire after attachment to the new browser instance.
Top
See Also

Reference