setBatch method

Class: EyesPlatform: EspressoLanguage: Java SDK:

Use this method to set the batch information for this test.

In the Test Manager, all the results of tests that were executed as a single batch are displayed together and can be managed and operated on as a group. See How to organize your tests with batches and How to group tests into batches using the SDK for details and an example.

Syntax

eyes.setBatch( new BatchInfo(name));

Parameters

batch
Type:BatchInfo
An object of the class BatchInfo that describes the batch.

Return value

Type: void

Remarks

Call this method once before the calls to the open method for all tests that are supposed to be part of this batch.