getStatus method

Class: TestResultsPlatform: Selenium 4Language: JavaScript SDK:

Use this method to retrieve a status that represents the results of the test.


let value = result.getStatus();
value = result.status;

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


This method does not take any parameters.

Return value

Type: TestResultsStatus
Use this method to retrieve one of the following enumerated values:
  • TestResultsStatus.Passed
  • TestResultsStatus.Unresolved
  • TestResultsStatus.Failed
See TestResultsStatus for details.