getBatchName method

Class: TestResultsPlatform: PlaywrightLanguage: JavaScript SDK:

Use this method to retrieve the batch name.

Syntax

let value = result.getBatchName();
value = result.batchName;

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 name.