Method TestName
Retrieves test name programmatically by calling the TestName parameter from script viewUsage
Function ZAP.TestName()
Parameters
This method does not take parameters
Returns
Test name as String
Example
VBScript
testName = Zap.TestName()
JavaScript
var testName = Zap.TestName();
Comment
Get test name and save it to variable parameter