Skip to main content

PropertyData class

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.

Using statement

using Applitools;

PropertyData method

Syntax

PropertyData obj = new PropertyData(name, value);

Parameters

name

Type: string

The name of the property.

value

Type: string

The value of the property.

Return value

Type: PropertyData

Name property

Syntax

string value; // give relevant initial value
obj.Name = value;
value = obj.Name

Type: string

Value property

Syntax

string value; // give relevant initial value
obj.Value = value;
value = obj.Value

Type: string