Usage
Function ZAP.Report.GetWarningStepsCount(
Boolean Report [Optional]
)
ZAP Utility
Report.GetWarn...
True
warningCount
Boolean Report [Optional]
Output Parameter
Parameters
Type: Boolean
Default Value: False
Generate report for this step
Returns
Count of steps with Warning status
Example
VBScript
warningStepsCount = Zap.Report.GetWarningStepsCount(True)
JavaScript
var warningStepsCount = Zap.Report.GetWarningStepsCount(true);
ZAP Utility
Report.GetWarn...
True
warningCount

Comment
Get warning steps count and save it to local variable