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

Method SystemUtil.ProcessId

Gets the unique identifier for the associated process

Usage

Function ZAP.SystemUtil.ProcessId()

Parameters

This method does not take parameters

Returns

The system-generated unique identifier of the process

Example

VBScript

Zap.SystemUtil.Run "firefox.exe"
msgbox Zap.SystemUtil.ProcessId

JavaScript

Zap.SystemUtil.Run("firefox.exe");
alert(Zap.SystemUtil.ProcessId());

Documentation Categories

ZAPTEST

FARM

LOAD