|
Description
Executes the VBScript statements in the specified file. Once the file runs, the definitions (functions, subroutines, classes, etc.) in the file are available from the global scope of the action's script.
Note: You cannot debug a file that is called using an ExecuteFile statement, or any of the functions contained in the file. In addition, when debugging a test that contains an ExecuteFile statement, the execution marker may not be correctly displayed.
Syntax
ExecuteFile File
Example
The following example executes the MyFunction VBS file in order to use the SomeFunction function in the action script.
ExecuteFile "MyFunctions.vbs"
x = SomeFunction ' Defined in MyFunctions.vbs |
|