Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Method GetExecutionTime

Returns method execution time in milliseconds

Usage

Function GetExecutionTime(
  Boolean Report [Optional]
)

Parameters

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Execution time in milliseconds

Example

VBScript

Server("API Server").Method("Method").Execute
' Get execution time
msgbox Server("API Server").Method("Method").GetExecutionTime(True)

JavaScript

Server("API Server").Method("Method").Execute();
// Get execution time
alert(Server("API Server").Method("Method").GetExecutionTime(true));

Documentation Categories

ZAPTEST

FARM

LOAD