Namespace for the core WebAii framework functionality.
Classes
Class | Description | |
---|---|---|
Actions |
Generic action support for all browser types.
| |
Browser |
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.
| |
BrowserConfigurationException |
Thrown when invalid configuration operation is performed.
| |
Desktop |
Class representing the desktop input devices. Mouse and Keyboard.
| |
DummyFindClause |
Holds a single clause as part of a Silverlight element FindExpression.
| |
DummyFindExpression |
Holds a Silverlight element FindExpression.
| |
ElementFinder |
Provides infrastructure for accessing elements defined by FindParamAttribute on test methods and classes.
Replaces the Find.Elements dictionary which has been obsoleted.
| |
EnumExtensions | ||
Find |
Class provides quick search routines for finding an element(s) within a document.
| |
FrameInfo |
Information regarding a specific frame
| |
FramesCollection |
Collection of frames (Browser objects)
| |
HtmlFindClause |
An Html specific find clause.
| |
HtmlFindExpression |
An Html find expression. This expression replaced FindParams that
are being deprecated.
| |
Log |
Log support for the framework and test cases.
| |
Manager |
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.
| |
MappingsCollection |
A general purpose collection
| |
Settings |
Class representing the settings to be used when initializing the framework.
| |
SettingsWebSettings | ||
SettingsWpfSettings | ||
SettingsConfigSectionHandler |
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. | |
WebSettingsConfigSectionHandler | ||
WpfSettingsConfigSectionHandler |
Delegates
Delegate | Description | |
---|---|---|
ManagerActiveBrowserChangedHandler |
Event handler for ActiveBrowserChanged event.
|
Enumerations
Enumeration | Description | |
---|---|---|
AnnotationMode |
The different annotation modes
| |
BrowserCacheType |
The different common categories of browser caching.
| |
BrowserConfigurationStatus |
Show configuration status for the specified browser.
| |
BrowserExecutionType |
The browser execution type. (i.e. firefox, internet explorer ...etc).
The real browser type users can choose from.
| |
BrowserType |
The browser type. (i.e. firefox, internet explorer ...etc).
| |
DummySearchType | ||
ElementSyncMethod |
The different type of element-dom synchronization
supported by the framework and the SyncManager.
| |
FindReferenceType |
Defines which reference type the Find object is using.
| |
HtmlSearchType |
Different types of supported find expressions.
| |
LocalWebServerType |
Type of local web servers available for tests.
| |
LogType |
The types of logging available in WebAii.
| |
MouseClickType |
The different types of mouse events to perform.
| |
MouseWheelTurnDirection |
The mouse wheel turn directions.
| |
ScriptEventType |
Type of script events that can be invoked on an html element.
| |
ScrollToVisibleType |
Used to configure what the default scroll to visible behavior is.
| |
UnexpectedDialogAction |
Specifies the action that the DialogMonitor should take when it encounters unexpected dialogs
|