addProperty method

Class: EyesPlatform: ImagesAppKitLanguage: Objective-C SDK:

Adds a user-defined key name/value property that will be associated with tests.

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

Syntax

Call syntax

 [ eyes addProperty  : name value: value   ];

Declaration

(void)addProperty:(NSString *)name value:(NSString *)value

Parameters

name
Type:NSString*
The name of the property.
value
Type:NSString*
The value associated with the name.

Return value

Type: void

Remarks

  • You should not assign a given value to a property more than once in a given test run.