Class: BatchInfoPlatform: AppiumLanguage: Java SDK:
Associate a user defined property with the Batch.
The user can view and filter for these key/value pairs in the Test Manager.
BatchInfo value = batchInfo.addProperty(name, value);
- The name of the property.
- The value to be associated with this name.
- Type: BatchInfo
- 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.