id property
Use this property to set and retrieve the unique id of the batch.
You need to set the id explicitly if you want to batch tests that are run at different times or in different platforms or processes. For more information see Batching tests in a distributed environment
Syntax
batch_info.id = value # type is Text
value = batch_info.id
Type:Text
The unique id of the batch. If passed as None, and the environment variable APPLITOOLS_BATCH_ID is defined, then its value will be used as the id. If the environment variable is not defined then an internal unique id will be generated and used.
Remarks
If the id is not set, and the environment variable APPLITOOLS_BATCH_ID is defined, then its value will be used as the id.
If the environment variable is not defined, then an internal unique id will be generated and used.
Since this value is unique for each test run, if you don't set the id explicitly
you can only batch tests that run in the current test run.