Method SystemUtil.Run
Launches applicationUsage
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-fiX/Standalone/ZAPTEST.exe");
JavaScript
Zap.SystemUtil.Run("C:\\Program Files (x86)\\ZAP-fiX\\Standalone\\ZAPTEST.exe");
Comment
Run application by path