Method GetExecutionTime
Returns method execution time in millisecondsUsage
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));
Comment
Get execution time and display it in message box