ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure
ArtOfTest.WebAii.Core Namespace
NamespacesArtOfTest.WebAii.Core

[Missing <summary> documentation for "N:ArtOfTest.WebAii.Core"]

Declaration Syntax
C#Visual BasicVisual Basic Usage
namespace ArtOfTest.WebAii.Core
Namespace ArtOfTest.WebAii.Core
Imports ArtOfTest.WebAii.Core
Types
All TypesClassesEnumerations
IconTypeDescription
Actions
Generic action support for all browser types.

AnnotationMode
The different annotation modes

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.

BrowserCacheType
The different common categories of browser caching.

BrowserType
The browser type. (i.e. firefox, internet explorer ...etc).

Desktop
Class representing the desktop input devices. Mouse and Keyboard.

ElementFinder
Provides infrastructure for accessing elements defined by FindParamAttribute on test methods and classes. Replaces the Find.Elements dictionary which has been obsoleted.

ElementSyncMethod
The different type of element-dom synchronization supported by the framework and the SyncManager.

Find
Class provides quick search routines for finding an element(s) within a document.

FindReferenceType
Defines which reference type the Find object is using.

FrameInfo
Information regarding a specific frame

FramesCollection
Collection of frames (Browser objects)

LocalWebServerType
Type of local web servers available for tests.

Log
Log support for the framework and test cases.

LogType
The types of logging available in WebAii.

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.

MouseClickType
The different types of mouse events to perform.

MouseWheelTurnDirection
The mouse wheel turn directions.

OffsetReference
Offset references used to adjust the target point (X,Y) of an action.

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.

Settings
Class representing the settings to be used when initializing the framework.

SettingsConfigSectionHandler
Settings object config section handler. Use this object to read a Settings config section in a .config file.
Examples
CopyC#
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="20000"
       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"
   />

   </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.

TreeBuilder
This class builds the a strongly-typed markup elements tree.