Method Common.ConvertStrToBoolean

Converts String into Boolean value

Usage

Function ZAP.Common.ConvertStrToBoolean ( 
	String StringValue
)

ZAP Utility

ZAP Utility step

...StrToBoolean

true

output

String StringValue

Output Parameter

Parameters

StringValue

Type: String

String Parameter

Returns

Boolean value

Example

VBScript

booleanValue = Zap.Common.ConvertStrToBoolean("True")

JavaScript

var booleanValue = Zap.Common.ConvertStrToBoolean("true");

Comment

Convert value to boolean and save it to variable parameter

Script-Less next step

ZAP Utility

ZAP Utility step

...StrToBoolean

true

value