properties property

Class: ConfigurationPlatform: NightwatchLanguage: JavaScript SDK:

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

Syntax

config.properties = configval;
configval = config.properties;

Type:PropertyDataPlain[]

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.