report, namespace, get, passed, successful, correct, steps, count, scriptless, script-less, scripted, step, view, stepview

Method Zap.Report.GetPassedStepsCount

Returns count of steps with Passed status

Watch this video to learn how to use this method

Have a problem with playback?

Usage

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

ZAP Utility

Report.GetPassed..

True

passedCount

Report

Output Parameter

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

ZAP Utility

Report.GetPassed..

True

passedCount

Contact Us

1425 Market Blvd Ste 530 - 230

Roswell, GA 30076 USA

(800) 795-3552