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
![](https://www.zaptest.com/wp-content/uploads/2022/02/1SCRIPT_STEP.jpg)
ZAPTEST
![](https://www.zaptest.com/wp-content/uploads/2022/02/FARM.jpg)
FARM
![](https://www.zaptest.com/wp-content/uploads/2022/02/LOAD.jpg)