Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Method Report.GetFailedStepsCount

Returns count of steps with Failed status

Usage

Function ZAP.Report.GetFailedStepsCount(
  Boolean Report [Optional]
)

Parameters

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Count of steps with Failed status

Example

VBScript

failedStepsCount = Zap.Report.GetFailedStepsCount(True)

JavaScript

var failedStepsCount = Zap.Report.GetFailedStepsCount(true);

Documentation Categories

ZAPTEST

FARM

LOAD