Method SystemUtil.Run

Launches application

Usage

Function ZAP.SystemUtil.Run(
    String ApplicationPath,
    String Parameters [Optional],
    String Dir [Optional],
    Boolean RedirectInputOutput [Optional]
)

Parameters

ApplicationPath

Type: String

Path to the Application or System Command

Parameters (optional)

Type: String

Default Value: Empty String

Parameters String

Dir (optional)

Type: String

Default Value: Empty String

Working Directory

RedirectInputOutput (optional)

Type: Boolean

Default Value: False

Redirect Input/Output streams to ZAPTEST

Returns

Returns ZAP process automation object

Example

VBScript

Zap.SystemUtil.Run "C:Program Files (x86)ZAP-fiXStandaloneZAPTEST.exe"

JavaScript

Zap.SystemUtil.Run("C:\Program Files (x86)\ZAP-fiX\Standalone\ZAPTEST.exe");

Documentation Categories

ZAPTEST

FARM

LOAD