The information in this topic may be out of date. The current SDK reference guide has moved here.

add_property method

Class: BatchInfoPlatform: Selenium 3Language: Python SDK:

Associate a user-defined property with the batch.

A batch property is a user-defined name/value pair that you can associate with a batch. Use the Test Manger to view the properties and their values for a particular batch and you can filter for batches with specific property values. See Using user defined batch properties for more information.

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 property.

Return value

Type: BatchInfo

Remarks