getBatchId method

Class: TestResultsPlatform: Selenium 4Language: JavaScript SDK:

Use this method to retrieve the unique batch ID of the test batch.

Syntax

let value = result.getBatchId();
value = result.batchId;

Note that this feature is available as both a method and a property.

Parameters

This method does not take any parameters.

Return value

Type: string
The batch ID.