Method TestPath

Retrieves test path programatically by calling the TestPath parameter from script view

Usage

Function ZAP.TestPath()

ZAP Utility

ZAP Utility step

ZAP.TestPath

testPath

Output Parameter

Parameters

This method does not take parameters

Returns

Test path as String

Example

VBScript

testPath = Zap.TestPath()

JavaScript

var testPath = Zap.TestPath();

Comment

Get test path and save it to variable parameter

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.TestPath

testPath