Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Method SystemUtil.HasExited

Gets a value indicating whether the associated process has been terminated

Usage

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());

Documentation Categories

ZAPTEST

FARM

LOAD