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

Method Report.GetWarningStepsCount

Returns count of steps with Warning status

Usage

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);

Documentation Categories

ZAPTEST

FARM

LOAD