Method SystemUtil.HasExited

Gets a value indicating whether the associated process has been terminated

Usage

Function ZAP.SystemUtil.HasExited()

ZAP Utility

ZAP Utility step

ZAP...HasExited

hasExited

Output Parameter

Parameters

This method does not take parameters

Returns

True if the operating system process component has terminated or not exist; otherwise, false.

Example

VBScript

Zap.SystemUtil.Run "firefox.exe"
msgbox Zap.SystemUtil.HasExited
Zap.SystemUtil.Kill
msgbox Zap.SystemUtil.HasExited

JavaScript

Zap.SystemUtil.Run("firefox.exe");
alert(Zap.SystemUtil.HasExited());
Zap.SystemUtil.Kill();
alert(Zap.SystemUtil.HasExited());

ZAP Utility

ZAP Utility step

Zap.SystemUtil.Run

firefox.exe

Script-Less next step

ZAP Utility

ZAP Utility step

Zap...HasExited

hasExited

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.SystemUtil.Kill

Script-Less next step

ZAP Utility

ZAP Utility step

Zap...HasExited

hasExited