SetBatch method
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
IConfiguration configval = config.SetBatch(value);
config.Batch = configval;
= config.Batch;
Note that this feature is available as both a method and a property.
Parameters
- value
- Type:BatchInfo
- An object that defines the batch configuration.
Return value
- Type: IConfiguration
-
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.