Object Model Reference for GUI Testing > Utility Objects > Utility Statements > SetLastError Statement

SetLastError Statement

Description

Inserts a VBScript error into the test script.

Syntax

SetLastError(Error)

Argument

Type

Description

Error

Integer

The error.

 

See also: