fbpx

Method GetRequestGetParameter

Gets Request Get Parameter value

Usage

Function GetRequestGetParameter(
    String Name,
    Boolean Report [Optional]
)

Parameters

Name

Type: String

The name of the Get Parameter

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

Get Parameter value or Empty string

Example

VBScript

msgbox Server("API Server").Method("GetBookById").GetRequestGetParameter("id", True)

JavaScript

alert(Server("API Server").Method("GetBookById").GetRequestGetParameter("id", true));

Documentation Categories

ZAPTEST

FARM

LOAD