Usage
Function ZAP.Report.EndSection (
String SectionName
)
ZAP Utility
ZAP...EndSection
Open website
String SectionName
Parameters
SectionName
Type: String
Section Name
Returns
True if Result Block is found, otherwise - false
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");
ZAP Utility
Zap...StartSection
Open website
Application
Launch
chrome
zaptest.com
ZAP Utility
Zap...EndSection
Open website

Comment
Create separate report section for website opening