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

Method Report.SetActiveSectionName

Sets the new name for the active Result Section. Note: please use the original name for EndSection method (see Scripted Example)

Usage

Function ZAP.Report.SetActiveSectionName ( 
    String SectionName
)

Parameters

SectionName

Type: String

Section Name

Returns

No return value

Example

VBScript

Zap.Report.StartSection "new section"
Zap.Report.SetActiveSectionName "updated name"
' don't use "updated name"
Zap.Report.EndSection "new section"

JavaScript

Zap.Report.StartSection("new section");
Zap.Report.SetActiveSectionName("updated name");
// don't use "updated name"
Zap.Report.EndSection("new section");

Documentation Categories

ZAPTEST

FARM

LOAD