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

Method Report.StartSection

Starts a new Result Section

Usage

Function ZAP.Report.StartSection ( 
    String SectionName,
    Boolean ReportAddingSection [Optional]
)

Parameters

SectionName

Type: String

Section Name

ReportAddingSection (optional)

Type: Boolean

Default Value: True

If true it adds information message to the results

Returns

No return value

Example

VBScript

'create separate report section
Zap.Report.StartSection "Open Website"
Application("zap").Launch "chrome", "www.zaptest.com"
Application("zap").View("Homepage").Object("ZAPTEST").Exist
Zap.Report.EndSection "Open Website"

JavaScript

// create separate report section
Zap.Report.StartSection("Open Website");
Application("zap").Launch("chrome", "www.zaptest.com");
Application("zap").View("Homepage").Object("ZAPTEST").Exist();
Zap.Report.EndSection("Open Website");

Documentation Categories

ZAPTEST

FARM

LOAD