Method Report.GetWarningStepsCount
Returns count of steps with Warning statusUsage
Function ZAP.Report.GetWarningStepsCount(
Boolean Report [Optional]
)
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);
Comment
Get warning steps count and save it to local variable