fbpx

Method SystemUtil.CloseProcessByName

Closes process by given name

Usage

Function ZAP.SystemUtil.CloseProcessByName (
	String ProcessName,
	Boolean CloseAllMatches [Optional]
)

Parameters

ProcessName

Type: Integer

Process name

CloseAllMatches (optional)

Type: Boolean

Default value: false

Option to close All processes with given name

Returns

No return value

Example

VBScript

Zap.SystemUtil.CloseProcessByName "Google Chrome", false

JavaScript

Zap.SystemUtil.CloseProcessByName("Google Chrome", false);

Documentation Categories

ZAPTEST

FARM

LOAD

Virtual Expert

ZAPTEST

ZAPTEST Logo