set_configuration method

Class: EyesPlatform: ImagesLanguage: Python SDK:

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

Syntax


value = eyes.set_configuration(configuration)

Parameters

configuration
Type:<a class ='link' href='/Content/api/eyes-sdk/index-gen/class-configuration-images-python_sdk4.htm'>Configuration</a>
A configuration object that has the various properties/methods set to the required values.

Return value

Type: None

Remarks

The typical sequence for configuring a test is:
  • Create a Configuration object.
  • Assign to the properties you want to set up, and call the various methods.
  • Create an Eyes instance.
  • Call the Eyes.set_configuration method with the configuration object.
  • Call the Eyes.open method to start the test session.
Once you've changed the configuration of an Eyes instance by calling Eyes.set_configuration or by setting a configuration directly on the Eyes instance, if you want to change the configuration, you must use the following sequence: