ArtOfTest.WebAii.Core Namespace

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
Namespace for the core WebAii framework functionality.
Classes

  ClassDescription
Public classActions
Generic action support for all browser types.
Public classBrowser
Class represents a browser instance managed by the Manager. This object exposes all the browser specific information and methods to automate the underlying browser that this instance represents.
Public classBrowserConfigurationException
Thrown when invalid configuration operation is performed.
Public classDesktop
Class representing the desktop input devices. Mouse and Keyboard.
Public classDummyFindClause
Holds a single clause as part of a Silverlight element FindExpression.
Public classDummyFindExpression
Holds a Silverlight element FindExpression.
Public classElementFinder
Provides infrastructure for accessing elements defined by FindParamAttribute on test methods and classes. Replaces the Find.Elements dictionary which has been obsoleted.
Public classEnumExtensions
Public classFind
Class provides quick search routines for finding an element(s) within a document.
Public classFrameInfo
Information regarding a specific frame
Public classFramesCollection
Collection of frames (Browser objects)
Public classHtmlFindClause
An Html specific find clause.
Public classHtmlFindExpression
An Html find expression. This expression replaced FindParams that are being deprecated.
Public classLog
Log support for the framework and test cases.
Public classManager
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.
Public classMappingsCollection
A general purpose collection
Public classSettings
Class representing the settings to be used when initializing the framework.
Public classSettingsWebSettings
Public classSettingsWpfSettings
Public classCode exampleSettingsConfigSectionHandler
Settings object config section handler. Use this object to read a Settings config section in a .config file.
Examples

You can persist the settings for your application/test cases in a config file.

The following is a sample config file that holds certain settings. Any settings
not specified in this section, their values will be set to the system defaults:


<?xml version="1.0" encoding="utf-8" ?>
   <configuration>
       <configSections>
           <section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler,ArtOfTest.WebAii"/>
       </configSections>

   <WebAii.Settings
       defaultBrowser="InternetExplorer"
       logLocation="D:\Log\"
       executionTimeout="30000"
       clientReadyTimeout="60000"
       localWebServer="None";
       webAppPhysicalPath="c:\Inetpub\wwwroot\MyApplication"
       enableScriptLogging="false"
       queryEventLogErrorsOnExit="false"
       enableUILessRequestViewing="false"
       baseUrl="http://www.testsite.com/"
       executionDelay="0"
       annotateExecution="false"
       annotationMode="All"
       logAnnotations="false"
       simulatedMouseMoveSpeed="0.3f"
       waitCheckInterval="500"
       aspNetDevServerPort="-1"
       createLogFile="true"
       killBrowserProcessOnClose="false"
       recycleBrowser="false"
       useHttpProxy="false"
       enableSilverlight="false"
       xMultiMgr="false"
       silverlightConnectTimeout="60000"
       elementWaitTimeout="15000"
   />

   </configuration>


In your code, you can get these settings by using the SettingsConfigSectionHandler like this:

SettingsConfigSectionHandler settingsSection = 
            (SettingsConfigSectionHandler)ConfigurationManager.GetSection("WebAii.Settings");
Settings mySettings = new Settings(settingsSection);

You can then use mySettings to pass in to the Manager constructor.
Public classWebSettingsConfigSectionHandler
Public classWpfSettingsConfigSectionHandler
Delegates

  DelegateDescription
Public delegateManagerActiveBrowserChangedHandler
Event handler for ActiveBrowserChanged event.
Enumerations

  EnumerationDescription
Public enumerationAnnotationMode
The different annotation modes
Public enumerationBrowserCacheType
The different common categories of browser caching.
Public enumerationBrowserConfigurationStatus
Show configuration status for the specified browser.
Public enumerationBrowserExecutionType
The browser execution type. (i.e. firefox, internet explorer ...etc). The real browser type users can choose from.
Public enumerationBrowserType
The browser type. (i.e. firefox, internet explorer ...etc).
Public enumerationDummySearchType
Public enumerationElementSyncMethod
The different type of element-dom synchronization supported by the framework and the SyncManager.
Public enumerationFindReferenceType
Defines which reference type the Find object is using.
Public enumerationHtmlSearchType
Different types of supported find expressions.
Public enumerationLocalWebServerType
Type of local web servers available for tests.
Public enumerationLogType
The types of logging available in WebAii.
Public enumerationMouseClickType
The different types of mouse events to perform.
Public enumerationMouseWheelTurnDirection
The mouse wheel turn directions.
Public enumerationScriptEventType
Type of script events that can be invoked on an html element.
Public enumerationScrollToVisibleType
Used to configure what the default scroll to visible behavior is.
Public enumerationUnexpectedDialogAction
Specifies the action that the DialogMonitor should take when it encounters unexpected dialogs