report, namespace, start, section, reporting, scriptless, script-less, scripted, step, view, stepview

Method Zap.Report.StartSection

Starts a new Result Section

Watch this video to learn how to use this method

Have a problem with playback?

Usage

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

ZAP Utility

ZAP Utility step

Zap...StartSection

Open website

true

SectionName

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

Comment

Create separate report section for website opening

Script-Less next step

ZAP Utility

ZAP Utility step

Zap...StartSection

Open website

Script-Less next step

Application

ZAP Object step

Launch

chrome

zaptest.com

Script-Less next step

ZAP Utility

ZAP Utility step

Zap...EndSection

Open website

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552