Class representing the settings to be used when initializing the framework.
Syntax| C# |
[SerializableAttribute] [XmlRootAttribute] public class Settings
Members| All Members | Constructors | Methods | Properties | Fields | Events |
| Icon | Member | Description |
|---|---|---|
![]() | SettingsNew() |
Create a new Settings object.
|
![]() | SettingsNew(BrowserType, String) |
Create a new Settings object.
|
![]() | SettingsNew(BrowserType, String, String) |
Create a new Settings object.
|
![]() | SettingsNew(Settings) |
Create a clone of the passed in settings
|
![]() | SettingsNew(SettingsConfigSectionHandler) |
Create a new Settings object from a config section.
|
![]() | SettingsNew(String) |
Create a new Settings object.
|
![]() | AnnotateExecution |
Gets/Sets whether to highlight/annotate the target elements that action is being executed against. Default is false.
|
![]() | AnnotationMode |
Gets/Sets the annotation mode when annotation is enabled. Default is All
|
![]() | AspNetDevServerPhysicalPath |
Gets the physical path
|
![]() | AspNetDevServerPort |
Gets/Sets the AspNetDevServer (if use) port. If this is not set (-1) a random port will be
generated each time the manager is created.
|
![]() | BaseUrl |
Gets/Sets the base url to use for all NavigateTo commands.
When set NavigateTo should use a relative url (i.e. "~/default.aspx"). Default is string.empty.
|
![]() | ClientReadyTimeout |
Gets/Sets timeout used to wait for a client to be ready after first launch
and after executing a command. (msec.). Default is 20000 msec.
|
![]() | Clone() |
Clone the existing settings
|
![]() | CreateLogFile |
Gets or sets whether to create a log file on disk.
This value is read once at initialization time. Changing this value during test execution has no effect.
Default is true
|
![]() ![]() | Current |
The current settings object.
|
![]() | DefaultBrowser |
Gets/Sets a supported default browser type (IE,FireFox ...etc). Default is InternetExplorer.
|
![]() | EnableScriptLogging |
Gets/Sets whether to enable script logging or not. Default is false.
|
![]() | EnableUILessRequestViewing |
Gets/Sets whether to allow debugging of UILess page requests using a UI browser like IE. Default is false.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExecuteCommandTimeout |
Gets/Sets The time out to wait for a command request to execute. (msec.). Default is 30000 msec.
|
![]() | ExecutionDelay |
Gets/Sets an execution delay between commands. This can help in observing test execution. Default is zero.
|
![]() | Finalize() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsStressRecordingMode |
Set by the recorder to indicate a stress recorder mode.
This property is not persisted and is NOT configurable using the .config file
|
![]() | IsUserInteractiveMode |
Gets whether the test is running in a user interactive mode
or as non-user interactive.
|
![]() | KillBrowserProcessOnClose |
Gets or sets whether to make sure the browser process is killed when closing the browser.
Note: Firefox is a single process browser. If you are using multiple browser instances and this setting is on, it will kill
all open instances of Firefox when close on of the instances.
Default is false.
|
![]() | LocalWebServer |
Gets/Sets the local web server to use to server pages. Default is None.
|
![]() | LogAnnotations |
Gets/Sets whether to log annotations to the log file. Default is false.
|
![]() | LogLocation |
Gets/Sets the location where to perform all the logging. Default is C:\WebAiiLog\.
|
![]() | MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | QueryEventLogErrorsOnExit |
Gets/Sets whether to query the event log on manager exit for
any error logged from automation clients. Any errors will
be logged to the test log. Default is false.
|
![]() | Reset() |
Resets all settings to the default system settings of the infrastructure.
Examples
The following are the system default settings:
DefaultBrowser=InternetExplorer
ClientReadyTimeout=30000
ExecutionCommandTimeout=20000
LogLocation='C:\WebAiiLog\'
WebAppPhysicalPath=""
EnableScriptLogging=false
QueryEventLogErrorsOnExit=false
LocalWebServer=LocalWebServerType.None
EnableUILessRequestViewing=false
BaseUrl=""
ExecutionDelay=0
AnnotateExecution=false
SimulatedMouseMoveSpeed=0.3f
waitCheckInterval=500
aspNetDevServer=-1
annotationMode=All
logAnnotations=false
createLogFile=true
killBrowserProcessOnClose=false
|
![]() | SimulatedMouseMoveSpeed |
Gets/Sets the simulated mouse move speed for Desktop.Mouse.Move()/DragDrop() operations in pixels/msec.
[Typically between 0.1f - .5f] Default is 0.3f
|
![]() | ToString() | (Inherited from Object.) |
![]() | Validate() |
Validate the settings.
|
![]() | WaitCheckInterval |
Gets/Sets the interval in msec. to use between checks for all the WaitForxx methods. Default is 500 msec.
|
![]() | WebAppPhysicalPath |
Gets/Sets the physical path of the application when running under
the ASP.NET Development Server. Default is string.empty.
ExamplesC:\Inetpub\wwwroot\myApp\ |
Inheritance Hierarchy| Object | |
![]() | Settings |
Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)





