baseline_env_name property

Class: ConfigurationPlatform: ImagesLanguage: Python SDK:

This property can be used 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 open, 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 None if it has not been assigned.

Syntax


config.baseline_env_name  = configval # type is Text
configval = config.baseline_env_name

Type:Text

The name of the baseline environment.