baselineEnvName property

Class: ConfigurationPlatform: XCUILanguage: Objective-C SDK:

Use this property to set and retrieve the name of the environment that will be used to determine the baseline.

Eyes stores a set of mappings from an environment name to an environment E, where E is defined as a triplet <OS, Browser, ViewportSize>. You can specify that Eyes uses the baseline defined by the environment name instead of the test environment by assigning this property the name of the environment. If the name is undefined in the server when this test runs, and this property is assigned before the call to openWithApplicationName, then the name will be created and defined with the values of the current test environment. Reading this property returns the currently defined value for the current test run or a value of nil if it has not been assigned.


Call syntax

NSString* configval; // give relevant initial value
config.baselineEnvName  = configval
configval = config.baselineEnvName


 (copy, nonatomic, nullable) NSString *baselineEnvName


The name of the baseline environment.