configuration property

Class: EyesPlatform: XCUILanguage: Objective-C SDK:

Use this method to configure Eyes based on a configuration object.


Call syntax

Configuration* value; // give relevant initial value
eyes.configuration  = value
value = eyes.configuration


 (strong, nonatomic) Configuration *configuration


A configuration object that has the various properties/methods set to the required values.


The typical sequence for configuring a test is: Once you've changed the configuration of an Eyes instance by calling [Eyes configuration] or by setting a configuration directly on the Eyes instance, if you want to change the configuration, you must use the following sequence:
  • Get the current configuration using [Eyes configuration] to a local variable.
  • Make changes to the local configuration value.
  • Assign the local configuration object to the Eyes instance using [Eyes configuration].