ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
ArtOfTest.WebAii.Core Namespace
Namespaces > ArtOfTest.WebAii.Core
Syntax
C#
namespace ArtOfTest.WebAii.Core
Types
All TypesClassesStructuresInterfacesEnumerationsDelegates
IconTypeDescription
public classActions
Generic action support for all browser types.
public enumerationAnnotationMode
The different annotation modes
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 enumerationBrowserCacheType
The different common categories of browser caching.
public enumerationBrowserType
The browser type. (i.e. firefox, internet explorer ...etc).
public classDesktop
Class representing the desktop input devices. Mouse and Keyboard.
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 enumerationElementSyncMethod
The different type of element-dom synchronization supported by the framework and the SyncManager.
public classFind
Class provides quick search routines for finding an element(s) within a document.
public enumerationFindReferenceType
Defines which reference type the Find object is using.
public classFrameInfo
Information regarding a specific frame
public classFramesCollection
Collection of frames (Browser objects)
public enumerationLocalWebServerType
Type of local web servers available for tests.
public classLog
Log support for the framework and test cases.
public enumerationLogType
The types of logging available in WebAii.
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 enumerationMouseClickType
The different types of mouse events to perform.
public enumerationMouseWheelTurnDirection
The mouse wheel turn directions.
public enumerationOffsetReference
Offset references used to adjust the target point (X,Y) of an action.
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 classSettings
Class representing the settings to be used when initializing the framework.
public classSettingsConfigSectionHandler
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="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"
      />
  
      </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 classTreeBuilder
This class builds the a strongly-typed markup elements tree.