The information in this topic may be out of date. The current SDK reference guide has moved here.

getSteps method

Class: TestResultsPlatform: ProtractorLanguage: JavaScript SDK:

Use this method to retrieve the total number of steps in the result.


let value = result.getSteps();
value = result.steps;

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


This method does not take any parameters.

Return value

Type: number