add_property method

Class: BatchInfoPlatform: Selenium 3Language: Python SDK:

Associate a user defined property with the Batch.

The user can view and filter for these key/value pairs in the Test Manager.

Syntax


value = batch_info.add_property(name, value)

Parameters

name
Type:Text
The name of the property.
value
Type:Text
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.batch or Configuration.set_batch 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.