setProperties method
Set a list of user-defined properties each of which is a key/value pair.
Syntax
let configval = config.setProperties(properties);
config.properties = configval;
configval = config.properties;
Note that this feature is available as both a method and a property.
Parameters
- properties
- Type:PropertyDataPlain[]
- List of propertydata objects.
Return value
- Type: Configuration
-
The value returned is the object that called the method.
This allows you to use a fluent style to call the
setXXXX
methods of the Configuration class.
Remarks
- Set multiple properties by calling Eyes.addProperty or Configuration.addProperty multiple times with the same property name and with different values.
- You should not assign a given value to a property more than once in a given test run.
- You can also associate properties with a batch using BatchInfo.addProperty.