properties property

Class: ConfigurationPlainPlatform: NightwatchLanguage: JavaScript SDK:

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

Syntax

config = { properties: [value1_PropertyDataPlain, value2_PropertyDataPlain] };

Type:PropertyDataPlain[]

List of propertydata objects.

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.