addProperty method
Associate a user defined property with the Batch.
The user can view and filter for these key/value pairs in the Test Manager.
Syntax
BatchInfo value = batchInfo.addProperty(name, value);
Parameters
- name
- Type:String
- The name of the property.
- value
- Type:String
- The value to be associated with this name.
Return value
- Type: BatchInfo
Remarks
- Call this method after creating the BatchInfo object and before calling Eyes.setBatch or Configuration.setBatch to associate the batch with the test (before the test is started).
- You may call this method multiple time with the same property name and with different values. The result is that all of these values will be associated with the property name. You should not assign a given value to a property more than once in a given batch run.