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

Type Report.ResultStatuses

ResultStatuses enumeration type is used to set custom result step status on report (i.e. in CustomReportEx method)

Usage

Type ZAP.Report.ResultStatuses

Parameters

Failed

Failed result status

Information

Information result status

Passed

Passed result status

Warning

Warning result status

Returns

Example

VBScript

'Call CustomReportEx method with Information ResultStatus
status = Zap.Report.ResultStatuses.Information
Application("Demo").CustomReportEx status, "Info", "This is additional information report step"
'Lets add one more step with Failed result
status = Zap.Report.ResultStatuses.Failed
Application("Demo").CustomReportEx status, "Error", "Unknown error occured."

JavaScript

// Call CustomReportEx method with Information ResultStatus
var status = Zap.Report.ResultStatuses.Information;
Application("Demo").CustomReportEx(status, "Info", "This is additional information report step");
// Lets add one more step with Failed result
status = Zap.Report.ResultStatuses.Failed;
Application("Demo").CustomReportEx(status, "Error", "Unknown error occured.");

Documentation Categories

ZAPTEST

FARM

LOAD