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

Method Zap.Report.GetFailedStepsCount

Returns count of steps with Failed status

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.Report.GetFailedStepsCount()

ZAP Utility

Report.GetFailed...

failedCount

Output Parameter

Parameters

This method does not take parameters

Returns

Count of steps with Failed status

Example

VBScript

failedStepsCount = Zap.Report.GetFailedStepsCount()

JavaScript

var failedStepsCount = Zap.Report.GetFailedStepsCount();

Comment

Get failed steps count and save it to local variable

ZAP Utility

Report.GetFailed...

failedCount

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227