getName method

Class: TestResultsPlatform: Selenium 4Language: JavaScript SDK:

Use this method to retrieve the name of the test.

Syntax

let value = result.getName();

Parameters

This method does not take any parameters.

Return value

Type: string
The name of the test.