Method Report.GetPassedStepsCount
Returns count of steps with Passed statusUsage
Function ZAP.Report.GetPassedStepsCount(
Boolean Report [Optional]
)
Parameters
Report (optional)
Type: Boolean
Default Value: False
Generate report for this step
Returns
Count of steps with Passed status
Example
VBScript
passedStepsCount = Zap.Report.GetPassedStepsCount(True)
JavaScript
var passedStepsCount = Zap.Report.GetPassedStepsCount(true);
Comment
Get passed steps count and save it to local variable