Method SystemUtil.HasExited
Gets a value indicating whether the associated process has been terminatedUsage
Function ZAP.SystemUtil.HasExited()
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());