Method StopTest
Stops the current test script and reports Fail execution statusUsage
Function ZAP.StopTest(
Boolean GenerateErrorOnStop [Optional]
)
Parameters
GenerateErrorOnStop (optional)
Type: Boolean
Default value: True
Generates Failed result
Returns
No return value
Example
VBScript
Zap.StopTest true
JavaScript
Zap.StopTest(true);
Comment
Set parameter to true or leave empty to generate failed result