SetConfiguration method
Use this method to configure Eyes based on a configuration object.
Syntax
eyes.SetConfiguration(configuration);
Parameters
- configuration
- Type:IConfiguration
- A configuration object that has the various properties/methods set to the required values.
Return value
- Type: void
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.SetConfiguration method with the configuration object.
- Call the Eyes.Open method to start the test session.
- Get the current configuration using Eyes.GetConfiguration to a local variable.
- Make changes to the local configuration value.
- Assign the local configuration object to the Eyes instance using Eyes.SetConfiguration.