BatchInfo class

Platform: Selenium 3Language: Java SDK:
Call 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

getId()
Use this method to retrieve the unique id of the batch.
getName()
Use this method to retrieve the name of the batch.
getSequenceName()
Use this method to retrieve the batch sequence name for this 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()
Call this method to enable informing the Eyes server that the batch has completed.
setSequenceName()
Use this method to set the batch sequence name for this 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.