Method SystemUtil.Run

Launches application

Usage

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

ZAP Utility

ZAP Utility step

ZAP.SystemUtil.Run

C:app.exe

String ApplicationPath

String Parameters

String Dir

Boolean RedirectInputOutput

Output Parameter

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-fiX/Standalone/ZAPTEST.exe");

JavaScript

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

Comment

Run application by path

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.SystemUtil.Run

C:app.exe

Script-Less next step

Comment

Set run parameters and enable redirect input/output to ZAPTEST

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.SystemUtil.Run

C:app.exe

-f -t

True