Usage
Function GetLastError(
Boolean Report [Optional]
)
Method
GetLastError
True
error
Boolean Report [Optional]
Output Parameter
Parameters
Report (optional)
Type: Boolean
Default Value: False
Generate report for this step
Returns
Error Message
Example
VBScript
Server("API Server").Method("Method").Execute
' Check last error
msgbox Server("API Server").Method("Method").GetLastError(True)
JavaScript
Server("API Server").Method("Method").Execute();
// Check last error
alert(Server("API Server").Method("Method").GetLastError(true));
Method
Execute
Method
GetLastError
True
error

Comment
Check last error