Method Common.ConvertStrToBoolean
Converts String into Boolean valueUsage
Function ZAP.Common.ConvertStrToBoolean (
String StringValue
)
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