test, path, scriptless, script-less, scripted, step, view, stepview

Method Zap.TestPath

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

Watch this video to learn how to use this method

Have a problem with playback?

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

Contact Us

3150 Roswell Rd NW

Atlanta, GA, 30305, USA

(800) 795-3552