Method Report.StartSection
Starts a new Result SectionUsage
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");
Comment
Create separate report section for website opening