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.

Using statement

using Configuration = Applitools.Configuration;
	

Constructor

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

Properties

AccessibilityValidationType:AccessibilitySettings
Use this property to set and retrieve the accessibility testing level to use.
AgentIdType:string
Use this property to set and retrieve the name and version of the SDK.
ApiKeyType:string
Use this property to set and retrieve your Eyes license key.
AppNameType:string
Use this property 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
Use this property 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
Use this property to set and retrieve the name of the environment that will be used to determine the baseline.
BatchType:BatchInfo
Use this property to set and retrieve the batch information for this test.
BranchNameType:string
Use this property to set and retrieve the branch used for the baseline of this run.
HostAppType:string
Use this property to set and retrieve the name of the hosting application property.
HostOSType:string
Use this property to set and retrieve the name of the hosting operating system property.
IgnoreCaretType:bool
Use this property to set and retrieve whether or not Eyes eliminates mismatches due to blinking cursor artifacts.
IgnoreDisplacementsType:bool
Use this property 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
Use this property to set and retrieve the default match level to be used for subsequent checkpoints in the test.
MatchTimeoutType:TimeSpan
Use this property to set and retrieve the maximum time Eyes will try to perform a match on the fully captured image.
ParentBranchNameType:string
Use this property to set and retrieve the parent branch from which newly created branches get their initial baseline.
SaveDiffsType:bool?
Use this property to set and retrieve if steps that have mismatches should be automatically saved to the baseline or not.
SaveNewTestsType:bool
Use this property to set and retrieve whether or not 'new' tests are saved to the baseline by default.
ServerUrlType:string
Use this property to set and retrieve the URL of the Eyes server used to process the captured images.
TestNameType:string
Use this property 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.