PropertyData method

Class: PropertyDataPlatform: Selenium 4Language: JavaScript SDK:

Use this constructor to create a PropertyData object.

A test property is a user-defined name/value pair that you can associate with a test. You can view these properties as well as filter and group by these properties in the Test Manager. You can set properties using the Eyes.addProperty method, Configuration.addProperty method, Configuration.setProperties method or Configuration.properties property.

Syntax

let obj = new PropertyData(property);

let obj = new PropertyData(name, value);

Parameters

property
Type:PropertyDataPlain
PropertyDataPlain
name
Type:string
The name of the property.
value
Type:string
The value of the property.

Return value

Type: PropertyData