Class representing the settings to be used when initializing the framework.
Inheritance Hierarchy
ArtOfTest.WebAii.CoreSettings
Namespace: ArtOfTest.WebAii.Core
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The Settings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Settings |
Create a new Settings object.
| |
Settings(Settings) |
Create a clone of the passed in settings
| |
Settings(SettingsConfigSectionHandler) |
Create a new Settings object from a config section.
| |
Settings(SettingsWebSettings, SettingsWpfSettings) |
Create a new Settings object.
|
Properties
Name | Description | |
---|---|---|
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.
| |
ClientReadyTimeout |
Gets/Sets timeout used to wait for a client to be ready after initial launch
and after executing a command. (msec.). Default is 20000 msec.
| |
CreateLogFile |
Gets or sets whether or not 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.
| |
CurrentVersion |
Used for serialization purposes
| |
DisableDialogMonitoring |
Disable handling of dialog windows. Default value is false.
| |
ElementWaitTimeout |
Gets/Sets the global wait on elements timeout that will be used during execution.
| |
ExecuteCommandTimeout |
Gets/Sets The timeout to wait for a command request to execute. (msec.). Default is 30000 msec.
| |
ExecuteInDevelopmentTests |
Gets/Sets the execute In Development tests. By default skip execution of In Development tests.
| |
ExecutionDelay |
Gets/Sets an execution delay in between commands. This can help in observing test execution. Default is zero.
| |
Is64BitOS |
Whether or not we're a 32-bit app running on a 64 bit OS
| |
IsUserInteractiveMode |
Gets whether the test is running in a user interactive mode
or as non-user interactive.
| |
LogAnnotations |
Gets/Sets whether or not 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\.
| |
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.
| |
RootName |
Used for serialization purposes
| |
RunnerResponseTimeout |
Gets/sets the timeout (how long to wait in msec.) for a response from ArtOfTest.Runner
| |
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
| |
UnexpectedDialogAction |
Gets/Sets the action of the DialogMonitor when unexpected dialog is encountered.
| |
WaitCheckInterval |
Gets/Sets the interval in msec. to use between checks for all the WaitForxx methods. Default is 500 msec.
| |
Web |
Container for all web specific settings
| |
Wpf |
Container for all wpf specific settings
| |
XmlBlob |
Used for serialization purposes
| |
XMultiMgr |
Gets/Sets whether or not to use WebAii 1.1 style connections. Default is false.
|
Methods
Name | Description | |
---|---|---|
Clone |
Clone the existing settings
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LoadFrom |
Used for serialization purposes
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PersistToConfigSection |
Persist current Settings to a section handler.
| |
Reset |
Resets all settings to the default system settings of the infrastructure.
Examples | |
SaveTo |
This class should be serialized via DCS or JSON.net
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate |
Validate the settings.
|
Fields
Name | Description | |
---|---|---|
ObsoleteProperties |
XmlSerializer won't deserialize properties marked as Obsolete
So we'll keep a list here of all our obsolete properties, for use when encountering an UnknownElement during Deserialization
|
See Also