BatchInfo class
Platform: Selenium 3Language: Java SDK:
Call the
Configuration.setBatch method or Eyes.setBatch method with an object of this class to configure the batch for one or more tests.
See How to group tests into batches using the SDK
for details and an example.
Import statement
import com.applitools.eyes.BatchInfo;
Constructor
- BatchInfo()
- The constructor for the BatchInfo class.
Methods
- addProperty()
- Associate a user-defined property with the batch.
- getId()
- Use this method to retrieve the unique id of the batch.
- getName()
- Use this method to retrieve the name of the batch.
- getProperties()
- Retrieve the set of user-defined batch properties.
- getSequenceName()
- Use this method to retrieve the batch sequence name for a batch.
- getStartedAt()
- Use this method to retrieve the date and time that will be displayed in the Test Manager as the start time of the batch.
- isNotifyOnCompletion()
- Use this method to retrieve if the SDK will inform the Eyes server that the batch has completed.
- setId()
- Use this method to set the unique id of the batch.
- setNotifyOnCompletion()
- Enable informing the Eyes server that the batch has completed.
- setSequenceName()
- Use this method to set the batch sequence name for a batch.
- setStartedAt()
- Use this method to set the date and time that will be displayed in the Test Manager as the start time of the batch.
- withBatchId()
- Use this method to set the unique id of the batch using a Fluent interface.