setBatch method

Class: ConfigurationPlatform: AppiumLanguage: Java SDK:

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

In the Test manager, all the results of tests that were batched together are shown 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.


Configuration configval = config.setBatch(batch);


An object that defines the batch configuration.

Return value

Type: Configuration
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.