run, application, util, scriptless, script-less, scripted, step, view, stepview

Method Zap.SystemUtil.Run

Launches application

Watch this video to learn how to use this method

Have a problem with playback?

Usage

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

ZAP Utility

Zap.SystemUtil.Run

C:\app.exe

ApplicationPath

Parameters

Dir

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

ZAP Utility

Zap.SystemUtil.Run

C:\app.exe

Comment

Set run parameters and enable redirect input/output to ZAPTEST

ZAP Utility

Zap.SystemUtil.Run

C:\app.exe

-f -t

True

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227