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

ExecuteFile Statement

Description

Executes the VBScript statements in the specified file. After the file runs, the definitions in the file (functions, subroutines, classes, and so forth) are available in the global scope of the action or component that called the ExecuteFile statement.

Syntax

ExecuteFile File

Argument

Type

Description

File

String

The absolute or relative path of the VBScript file to execute.

IMPORTANT

 

See also: