getDuration method

Class: TestResultsPlatform: ImagesLanguage: JavaScript SDK:

Returns the amount of time the test ran.

Syntax


let value = result.getDuration();

Parameters

This method does not take any parameters.

Return value

Type: number
The number of seconds the test ran for.