Class
UserSettings

Class containing all the user settings for the current user and any system wide configurable settings

Definition

Namespace:ArtOfTest.WebAii.Design

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
[KnownType(typeof(HtmlIdentificationDescriptor))]
[KnownType(typeof(SilverlightIdentificationDescriptor))]
public class UserSettings : INotifyPropertyChanged, IExtensibleDataObject, ICloneable

Inheritance: objectUserSettings

Implements: ICloneableIExtensibleDataObjectINotifyPropertyChanged

Constructors

UserSettings()

Default Constructor

Declaration

cs-api-definition
public UserSettings()

Fields

ArtOfTestFolderName

Declaration

cs-api-definition
public static string ArtOfTestFolderName

Field Value

string

SETTINGS_FILENAME

Declaration

cs-api-definition
public static readonly string SETTINGS_FILENAME

Field Value

string

Properties

AbsoluteDragDrop

Declaration

cs-api-definition
[DataMember(Name = "AbsoluteDragDropRecording")]
public bool AbsoluteDragDrop { get; set; }

Property Value

bool

ActiveTheme

Declaration

cs-api-definition
[DataMember]
public string ActiveTheme { get; set; }

Property Value

string

AssemblyName

Gets or sets the name of the assembly this project is compiled to (without the extension)

Declaration

cs-api-definition
[DataMember]
public string AssemblyName { get; set; }

Property Value

string

BaseClassName

Gets the base class name for the code behind.

Declaration

cs-api-definition
[DataMember(Name = "BaseClassName")]
public string BaseClassName { get; set; }

Property Value

string

BugAddAttachment

Declaration

cs-api-definition
[DataMember(Name = "BugAddAttachment")]
public bool BugAddAttachment { get; set; }

Property Value

bool

BugAutoSubmit

Declaration

cs-api-definition
[DataMember(Name = "BugAutoSubmit")]
public bool BugAutoSubmit { get; set; }

Property Value

bool

BugDescriptionMask

Declaration

cs-api-definition
[DataMember(Name = "BugDescriptionMask")]
public string BugDescriptionMask { get; set; }

Property Value

string

BugTitleMask

Declaration

cs-api-definition
[DataMember(Name = "BugTitleMask")]
public string BugTitleMask { get; set; }

Property Value

string

ChromiumFirstInteractionDelay

Gets or Sets initial wait time after Chromium browsers navigation to a new URL.

Declaration

cs-api-definition
[DataMember(Name = "ChromiumFirstInteractionDelay")]
public int ChromiumFirstInteractionDelay { get; set; }

Property Value

int

ClientMessageReceivedTimeout

Declaration

cs-api-definition
[DataMember(Name = "ClientMessageReceivedTimeout")]
public int ClientMessageReceivedTimeout { get; set; }

Property Value

int

DefaultDesktopApplication

Declaration

cs-api-definition
[DataMember(Name = "DefaultDesktopApplication")]
public string DefaultDesktopApplication { get; set; }

Property Value

string

DefaultDesktopApplicationArgs

Declaration

cs-api-definition
[DataMember(Name = "DefaultDesktopApplicationArgs")]
public string DefaultDesktopApplicationArgs { get; set; }

Property Value

string

DefaultDesktopApplicationWorkingFolder

Declaration

cs-api-definition
[DataMember(Name = "DefaultDesktopApplicationWorkingFolder")]
public string DefaultDesktopApplicationWorkingFolder { get; set; }

Property Value

string

DefaultDropDownSelection

Gets or sets the default drop down selection

Declaration

cs-api-definition
[DataMember(Name = "DefaultDropDownSelection")]
public SelectDropDownType DefaultDropDownSelection { get; set; }

Property Value

SelectDropDownType

DefaultWPFApplication

Declaration

cs-api-definition
[DataMember(Name = "DefaultWPFApplication")]
public string DefaultWPFApplication { get; set; }

Property Value

string

DefaultWPFApplicationArgs

Declaration

cs-api-definition
[DataMember(Name = "DefaultWPFApplicationArgs")]
public string DefaultWPFApplicationArgs { get; set; }

Property Value

string

DefaultWPFApplicationWorkingFolder

Declaration

cs-api-definition
[DataMember(Name = "DefaultWPFApplicationWorkingFolder")]
public string DefaultWPFApplicationWorkingFolder { get; set; }

Property Value

string

DisplayElementImagePreview

Display element image in Test Explorer and Element Tree

Declaration

cs-api-definition
[DataMember(Name = "DisplayElementImagePreview")]
public bool DisplayElementImagePreview { get; set; }

Property Value

bool

ElementImageSearchDelay

Element image search delay

Declaration

cs-api-definition
[DataMember(Name = "ElementImageSearchDelay")]
public int ElementImageSearchDelay { get; set; }

Property Value

int

ElementImageSearchTimeout

Element image search timeout

Declaration

cs-api-definition
[DataMember(Name = "ElementImageSearchTimeout")]
public int ElementImageSearchTimeout { get; set; }

Property Value

int

ElementImageThreshold

Element image threshold

Declaration

cs-api-definition
[DataMember(Name = "ElementImageThreshold")]
public int ElementImageThreshold { get; set; }

Property Value

int

EnableImageSearch

Enable image search during execution

Declaration

cs-api-definition
[DataMember(Name = "EnableImageSearch")]
public bool EnableImageSearch { get; set; }

Property Value

bool

ExtensionData

Declaration

cs-api-definition
public ExtensionDataObject ExtensionData { get; set; }

Property Value

ExtensionDataObject

Implements IExtensibleDataObject.ExtensionData

FirefoxMinimumJSClickDelay

Gets or Sets the minimum wait time after Firefox browser performs a JS click.

Declaration

cs-api-definition
[DataMember(Name = "FirefoxMinimumJSClickDelay")]
public int FirefoxMinimumJSClickDelay { get; set; }

Property Value

int

GeneratedElementIdentificationType

Sets how to generate the identification in test method

Declaration

cs-api-definition
[DataMember(Name = "CodeGenerationElementIdentificationType")]
public GeneratedElementIdentificationType GeneratedElementIdentificationType { get; set; }

Property Value

GeneratedElementIdentificationType

HideFindExpressionWelcome

Declaration

cs-api-definition
[DataMember(Name = "HideFindExpressionWelcome")]
public bool HideFindExpressionWelcome { get; set; }

Property Value

bool

HighlightBorderColor

Highlighting border color

Declaration

cs-api-definition
[DataMember(Name = "HighlightBorderColor")]
public int HighlightBorderColor { get; set; }

Property Value

int

HighlightBorderSize

Highlighting border size

Declaration

cs-api-definition
[DataMember(Name = "HighlightBorderSize")]
public int HighlightBorderSize { get; set; }

Property Value

int

IdentificationOptionSchemes

Dictionary of all Identification Schemes

Declaration

cs-api-definition
[DataMember(Name = "IdentificationSchemes")]
public Dictionary<string, IdentificationOptionsScheme> IdentificationOptionSchemes { get; set; }

Property Value

Dictionary<string, IdentificationOptionsScheme>

ImageScalePercentage

Percentage to scale down captured images

Declaration

cs-api-definition
[DataMember(Name = "ImageScalePercentage")]
public int ImageScalePercentage { get; set; }

Property Value

int

IsDirty

Flag to indicate when this object has been changed but hasn't been persisted to permanent storage yet.

Declaration

cs-api-definition
public bool IsDirty { get; set; }

Property Value

bool

IsElementImageCapturingEnabled

Whether element image capturing is enabled.

Declaration

cs-api-definition
[DataMember(Name = "IsElementImageCapturingEnabled")]
public bool IsElementImageCapturingEnabled { get; set; }

Property Value

bool

IsStoryBoardCapturingEnabled

Whether storyboard capturing is enabled.

Declaration

cs-api-definition
[DataMember(Name = "IsStoryBoardCapturingEnabled")]
public bool IsStoryBoardCapturingEnabled { get; set; }

Property Value

bool

MenuHoldTime

The time (msec) to hold for the menu to show on the surface

Declaration

cs-api-definition
[DataMember(Name = "MenuHoldTime")]
public double MenuHoldTime { get; set; }

Property Value

double

Namespace

Gets or sets the namespace to use when generating code in this project

Declaration

cs-api-definition
[DataMember]
public string Namespace { get; set; }

Property Value

string

OutputFolder

Gets or sets the relative path from the project root to the output folder for code generation

Declaration

cs-api-definition
[DataMember]
public string OutputFolder { get; set; }

Property Value

string

PreserveProjectState

Declaration

cs-api-definition
public bool PreserveProjectState { get; set; }

Property Value

bool

ProjectGuid

Declaration

cs-api-definition
[DataMember]
public Guid ProjectGuid { get; }

Property Value

Guid

ProjectReferences

Declaration

cs-api-definition
[DataMember]
public AssemblyReferenceCollection ProjectReferences { get; }

Property Value

AssemblyReferenceCollection

ProjectVersion

Gets or sets the minimum version of Design Canvas required to open this project

Declaration

cs-api-definition
[DataMember]
public string ProjectVersion { get; }

Property Value

string

PromptNameOnAddElement

Declaration

cs-api-definition
[DataMember(Name = "PromptNameOnAddElement")]
public bool PromptNameOnAddElement { get; set; }

Property Value

bool

QuickExecutionClientReadyTimeout

Declaration

cs-api-definition
[DataMember(Name = "QuickExecutionClientReadyTimeout", IsRequired = false)]
public int QuickExecutionClientReadyTimeout { get; set; }

Property Value

int

QuickExecutionElementWaitTimeout

Declaration

cs-api-definition
[DataMember(Name = "QuickExecutionElementWaitTimeout", IsRequired = false)]
public int QuickExecutionElementWaitTimeout { get; set; }

Property Value

int

RecordWpfWindowStateChanged

Declaration

cs-api-definition
[DataMember(Name = "RecordWpfWindowStateChanged", IsRequired = false)]
public bool RecordWpfWindowStateChanged { get; set; }

Property Value

bool

RecorderBaseUrl

Recorder base url to use

Declaration

cs-api-definition
[DataMember(Name = "RecorderBaseUrl")]
public string RecorderBaseUrl { get; set; }

Property Value

string

RecordjQueryInDescriptorsIfPossible

Declaration

cs-api-definition
[DataMember(Name = "RecordjQueryInDescriptorsIfPossible")]
public bool RecordjQueryInDescriptorsIfPossible { get; set; }

Property Value

bool

ResponsiveBrowserDevice

Declaration

cs-api-definition
[DataMember]
public string ResponsiveBrowserDevice { get; set; }

Property Value

string

ResponsiveBrowserHeight

Declaration

cs-api-definition
[DataMember]
public int ResponsiveBrowserHeight { get; set; }

Property Value

int

ResponsiveBrowserUserAgent

Declaration

cs-api-definition
[DataMember]
public string ResponsiveBrowserUserAgent { get; set; }

Property Value

string

ResponsiveBrowserWidth

Declaration

cs-api-definition
[DataMember]
public int ResponsiveBrowserWidth { get; set; }

Property Value

int

ScrollOnImageSearch

Enable/disable scrolling when searching by image.

Declaration

cs-api-definition
[DataMember(Name = "ScrollOnImageSearch")]
public bool ScrollOnImageSearch { get; set; }

Property Value

bool

SearchByImageFirst

Element search priority

Declaration

cs-api-definition
[DataMember(Name = "SearchByImageFirst")]
public bool SearchByImageFirst { get; set; }

Property Value

bool

SelectedBrowserOption

Declaration

cs-api-definition
[DataMember]
public PersistableBrowserOptions SelectedBrowserOption { get; set; }

Property Value

PersistableBrowserOptions

SelectedIdentificationScheme

Currently Selected Identification Scheme

Declaration

cs-api-definition
[DataMember(Name = "SelectedIdentificaitonScheme")]
public string SelectedIdentificationScheme { get; set; }

Property Value

string

SelectedResponsiveBrowserOption

Declaration

cs-api-definition
[DataMember]
public PersistableBrowserOptions SelectedResponsiveBrowserOption { get; set; }

Property Value

PersistableBrowserOptions

ShouldDeleteElement

Declaration

cs-api-definition
[DataMember(Name = "ShouldDeleteElement")]
public bool ShouldDeleteElement { get; set; }

Property Value

bool

ShowLoadFeatureTour

Declaration

cs-api-definition
public bool ShowLoadFeatureTour { get; set; }

Property Value

bool

ShowStepResultDetails

Declaration

cs-api-definition
[DataMember]
public bool ShowStepResultDetails { get; set; }

Property Value

bool

ShowStoryboardHorizontalLayout

Declaration

cs-api-definition
[DataMember(Name = "ShowStoryboardHorizontalLayout")]
public bool ShowStoryboardHorizontalLayout { get; set; }

Property Value

bool

SilverlightConnectTimeout

Declaration

cs-api-definition
[DataMember(Name = "SilverlightConnectTimeout")]
public int SilverlightConnectTimeout { get; set; }

Property Value

int

SimulateRealClickByDefault

Gets whether to simulate real click by default

Declaration

cs-api-definition
[DataMember(Name = "SimulateRealClickByDefault")]
public bool SimulateRealClickByDefault { get; set; }

Property Value

bool

SimulateRealTypingByDefault

Gets whether to simulate real typing by default

Declaration

cs-api-definition
[DataMember(Name = "SimulateRealTypingByDefault")]
public bool SimulateRealTypingByDefault { get; set; }

Property Value

bool

SkipDeleteElementPrompt

Declaration

cs-api-definition
[DataMember(Name = "SkipDeleteElementPrompt")]
public bool SkipDeleteElementPrompt { get; set; }

Property Value

bool

SkipFindExpressionSetDataDrivenWarning

Declaration

cs-api-definition
[DataMember]
public bool SkipFindExpressionSetDataDrivenWarning { get; set; }

Property Value

bool

SkipTranslatorsOptimization

Stop translators optimization during recording

Declaration

cs-api-definition
[DataMember(Name = "SkipTranslatorsOptimization")]
public bool SkipTranslatorsOptimization { get; set; }

Property Value

bool

StopShowingHandlerViewTips

Declaration

cs-api-definition
public bool StopShowingHandlerViewTips { get; set; }

Property Value

bool

StopShowingLoadConditionsViewTips

Declaration

cs-api-definition
public bool StopShowingLoadConditionsViewTips { get; set; }

Property Value

bool

StopShowingLoadResultsViewTips

Declaration

cs-api-definition
public bool StopShowingLoadResultsViewTips { get; set; }

Property Value

bool

StopShowingLoadRunViewTips

Declaration

cs-api-definition
public bool StopShowingLoadRunViewTips { get; set; }

Property Value

bool

StopShowingLoadUserGroupsViewTips

Declaration

cs-api-definition
public bool StopShowingLoadUserGroupsViewTips { get; set; }

Property Value

bool

TelerikComponentsVersion

The Telerik Components version to use

Declaration

cs-api-definition
[DataMember(Name = "TelerikComponentsVersion")]
public TelerikComponentsVersion TelerikComponentsVersion { get; set; }

Property Value

TelerikComponentsVersion

TfsDomain

Declaration

cs-api-definition
[DataMember(Name = "TfsDomain", IsRequired = false)]
public string TfsDomain { get; set; }

Property Value

string

TfsPassword

Declaration

cs-api-definition
public string TfsPassword { get; set; }

Property Value

string

TfsPasswordEncrypted

Declaration

cs-api-definition
[DataMember(Name = "TfsPassword", IsRequired = false)]
public string TfsPasswordEncrypted { get; set; }

Property Value

string

TfsSkipAuthDialog

Declaration

cs-api-definition
[DataMember(Name = "TfsSkipAuthDialog", IsRequired = false)]
public bool TfsSkipAuthDialog { get; set; }

Property Value

bool

TfsUserName

Declaration

cs-api-definition
[DataMember(Name = "TfsUserName", IsRequired = false)]
public string TfsUserName { get; set; }

Property Value

string

TrackActiveFile

Declaration

cs-api-definition
public bool TrackActiveFile { get; set; }

Property Value

bool

UnitTestTypeCodeGeneration

Type of unit test to generate for one way code gen

Declaration

cs-api-definition
[DataMember(Name = "UnitTypeTypeGeneration")]
public UnitTestType UnitTestTypeCodeGeneration { get; set; }

Property Value

UnitTestType

UrlHistory

History of navigated urls

Declaration

cs-api-definition
[DataMember(Name = "UrlHistory", IsRequired = false, EmitDefaultValue = false)]
public List<Uri> UrlHistory { get; set; }

Property Value

List<Uri>

UrlRecordMode

The Url record mode

Declaration

cs-api-definition
[DataMember(Name = "UrlRecordMode")]
public PageUriCompareMode UrlRecordMode { get; set; }

Property Value

PageUriCompareMode

UseBrowserExtension

Specify if Chrome or Edge browser extension should be used to communicate with the browser. Browser extension support has been deprecated! This will always return false.

Declaration

cs-api-definition
[DataMember(Name = "UseBrowserExtension")]
public bool UseBrowserExtension { get; set; }

Property Value

bool

UseHttpProxy

Declaration

cs-api-definition
[DataMember(Name = "UseHttpProxy")]
public bool UseHttpProxy { get; set; }

Property Value

bool

UseLegacySilverlightFindLogic

Declaration

cs-api-definition
[DataMember(Name = "UseLegacySilverlightFindLogic")]
public bool UseLegacySilverlightFindLogic { get; set; }

Property Value

bool

UseScreenshotCache

Declaration

cs-api-definition
[DataMember(Name = "UseScreenshotCache")]
public bool UseScreenshotCache { get; set; }

Property Value

bool

WebComponents

Declaration

cs-api-definition
[DataMember(Name = "WebComponents")]
public bool WebComponents { get; set; }

Property Value

bool

Methods

Clone()

Clone the UserSettings object

Declaration

cs-api-definition
public object Clone()

Returns

object

Implements ICloneable.Clone()

InitNewPropertiesDefaultValuesV2(Version)

Initialize new default values for V2 new properties. These properties will be null when deserializing an old project settings

Declaration

cs-api-definition
public void InitNewPropertiesDefaultValuesV2(Version upgradingFrom)

Parameters

upgradingFrom

Version

OnError(StreamingContext, ErrorContext)

Declaration

cs-api-definition
public static void OnError(StreamingContext context, ErrorContext errorContext)

Parameters

context

StreamingContext

errorContext

ErrorContext

OnPropertyChanged(string)

Declaration

cs-api-definition
protected void OnPropertyChanged(string name)

Parameters

name

string

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged

SettingsChanged

Declaration

cs-api-definition
public event EventHandler SettingsChanged

Event Value

EventHandler

TranslatorGroupEnabledChanged

Declaration

cs-api-definition
public event EventHandler<TranslatorGroupEnabledChangedEventArgs> TranslatorGroupEnabledChanged

Event Value

EventHandler<TranslatorGroupEnabledChangedEventArgs>

In this article
DefinitionConstructorsUserSettings()FieldsArtOfTestFolderNameSETTINGS_FILENAMEPropertiesAbsoluteDragDropActiveThemeAssemblyNameBaseClassNameBugAddAttachmentBugAutoSubmitBugDescriptionMaskBugTitleMaskChromiumFirstInteractionDelayClientMessageReceivedTimeoutDefaultDesktopApplicationDefaultDesktopApplicationArgsDefaultDesktopApplicationWorkingFolderDefaultDropDownSelectionDefaultWPFApplicationDefaultWPFApplicationArgsDefaultWPFApplicationWorkingFolderDisplayElementImagePreviewElementImageSearchDelayElementImageSearchTimeoutElementImageThresholdEnableImageSearchExtensionDataFirefoxMinimumJSClickDelayGeneratedElementIdentificationTypeHideFindExpressionWelcomeHighlightBorderColorHighlightBorderSizeIdentificationOptionSchemesImageScalePercentageIsDirtyIsElementImageCapturingEnabledIsStoryBoardCapturingEnabledMenuHoldTimeNamespaceOutputFolderPreserveProjectStateProjectGuidProjectReferencesProjectVersionPromptNameOnAddElementQuickExecutionClientReadyTimeoutQuickExecutionElementWaitTimeoutRecordWpfWindowStateChangedRecorderBaseUrlRecordjQueryInDescriptorsIfPossibleResponsiveBrowserDeviceResponsiveBrowserHeightResponsiveBrowserUserAgentResponsiveBrowserWidthScrollOnImageSearchSearchByImageFirstSelectedBrowserOptionSelectedIdentificationSchemeSelectedResponsiveBrowserOptionShouldDeleteElementShowLoadFeatureTourShowStepResultDetailsShowStoryboardHorizontalLayoutSilverlightConnectTimeoutSimulateRealClickByDefaultSimulateRealTypingByDefaultSkipDeleteElementPromptSkipFindExpressionSetDataDrivenWarningSkipTranslatorsOptimizationStopShowingHandlerViewTipsStopShowingLoadConditionsViewTipsStopShowingLoadResultsViewTipsStopShowingLoadRunViewTipsStopShowingLoadUserGroupsViewTipsTelerikComponentsVersionTfsDomainTfsPasswordTfsPasswordEncryptedTfsSkipAuthDialogTfsUserNameTrackActiveFileUnitTestTypeCodeGenerationUrlHistoryUrlRecordModeUseBrowserExtensionUseHttpProxyUseLegacySilverlightFindLogicUseScreenshotCacheWebComponentsMethodsClone()InitNewPropertiesDefaultValuesV2(Version)OnError(StreamingContext, ErrorContext)OnPropertyChanged(string)EventsPropertyChangedSettingsChangedTranslatorGroupEnabledChanged
Not finding the help you need?
Contact Support