setProperties method

Class: ConfigurationPlatform: ProtractorLanguage: JavaScript SDK:

Set a list of user-defined properties each of which is a key/value pair.


let configval = config.setProperties(properties); = configval;
configval =;

Note that this feature is available as both a method and a property.


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.


  • 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.