fbpx

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

benefits UI testing and rpa

ZAPTEST

Manual testing tools, vs. automation, checklists and more

FARM

LOAD