Configuration class

Platform: AppiumLanguage: C# SDK:
This class is used to create a configuration object that is used to configure an Eyes object by passing it to the Eyes.SetConfiguration method.
You can use this configuration object instead of using the various Eyes methods and properties that set the same attributes. Typically you set up a Configuration object by calling its setXXXX methods chained with a '.' in a Fluent coding style.

Constructor

Configuration()
The constructor for the Configuration class. This object is setup and then passed to the Eyes.SetConfiguration method before the call to Eyes.Open.

Properties

AccessibilityValidationType:AccessibilitySettings
This property can be used to set and retrieve the accessibility testing level to use.
AgentIdType:string
This property can be used to set and retrieve the name and version of the SDK.
ApiKeyType:string
This property can be used to set and retrieve your Eyes license key.
AppNameType:string
This property can be used to set and retrieve the value of the application name property. The application name is one of the 5 properties that define the baseline.
BaselineBranchNameType:string
This property can be used to set and retrieve the name of the branch the baseline reference will be taken from and where new and accepted steps will be saved to.
BaselineEnvNameType:string
This property can be used to set and retrieve the name of the environment that will be used to determine the baseline.
BatchType:BatchInfo
This property can be used to set and retrieve the batch information for this test.
BranchNameType:string
This property can be used to set and retrieve the branch used for the baseline of this run.
HostAppType:string
This property can be used to set and retrieve the name of the hosting application property.
HostOSType:string
This property can be used to set and retrieve the name of the hosting operating system property.
IgnoreCaretType:bool
This property can be used to set and retrieve whether or not Eyes eliminates mismatches due to blinking cursor artifacts.
IgnoreDisplacementsType:bool
This property can be used to set and retrieve whether Test Manager should initially display mismatches for image features that have only been displaced, as opposed to real mismatches.
MatchLevelType:MatchLevel
This property can be used to set and retrieve the default match level to be used for subsequent checkpoints in the test.
MatchTimeoutType:TimeSpan
This property can be used to set and retrieve the maximum time Eyes will try to perform a match on the fully captured image.
ParentBranchNameType:string
This property can be used to set and retrieve the parent branch from which newly created branches get their initial baseline.
SaveDiffsType:bool?
This property can be used to set and retrieve if steps that have mismatches should be automatically saved to the baseline or not.
SaveNewTestsType:bool
This property can be used to set and retrieve whether or not 'new' tests are saved to the baseline by default.
ServerUrlType:string
This property can be used to set and retrieve the URL of the Eyes server used to process the captured images.
TestNameType:string
This property can be used to set and retrieve the name of the test.

Methods

Clone()
Returns a clone of the configuration object.
SetAccessibilityValidation()
Use this method to set the accessibility testing level to use.
SetAgentId()
Use this method to set the name and version of the SDK.
SetApiKey()
Use this method to set your Eyes license key.
SetAppName()
Use this method to set the value of the application name property. The application name is one of the 5 properties that define the baseline.
SetBaselineBranchName()
Use this method to set the name of the branch the baseline reference will be taken from and where new and accepted steps will be saved to.
SetBaselineEnvName()
Use this method to set the name of the environment that will be used to determine the baseline.
SetBatch()
Use this method to set the batch information for this test.
SetBranchName()
Use this method to set the branch used for the baseline of this run.
SetHostApp()
Use this method to set the name of the hosting application property.
SetHostOS()
Use this method to set the name of the hosting operating system property.
SetIgnoreCaret()
Use this method to set whether or not Eyes eliminates mismatches due to blinking cursor artifacts.
SetIgnoreDisplacements()
Use this method to set whether Test Manager should initially display mismatches for image features that have only been displaced, as opposed to real mismatches.
SetMatchLevel()
Use this method to set the default match level to be used for subsequent checkpoints in the test.
SetMatchTimeout()
Use this method to set the maximum time Eyes will try to perform a match on the fully captured image.
SetParentBranchName()
Use this method to set the parent branch from which newly created branches get their initial baseline.
SetSaveDiffs()
Use this method to set if steps that have mismatches should be automatically saved to the baseline or not.
SetSaveNewTests()
Use this method to set whether or not 'new' tests are saved to the baseline by default.
SetServerUrl()
Use this method to set the URL of the Eyes server used to process the captured images.
SetTestName()
Use this method to set the name of the test.