getName method
Use this method to retrieve the name of the test.
Syntax
let value = result.getName();
value = result.name;
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 name of the test.