report, namespace, get, warning, steps, count, scriptless, script-less, scripted, step, view, stepview

Method Zap.Report.GetWarningStepsCount

Returns count of steps with Warning status

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.Report.GetWarningStepsCount(
  Boolean Report [Optional]
)

ZAP Utility

ZAP Utility step

Report.GetWarn...

True

warningCount

Report

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

Comment

Get warning steps count and save it to local variable

Script-Less next step

ZAP Utility

ZAP Utility step

Report.GetWarn...

True

warningCount

Contact Us

1425 Market Blvd Suite 530-230

Roswell, GA 30076, USA

(800) 795-3552