Method GetRequestXmlNamespace

Gets XML Namespace

Usage

Function GetRequestXmlNamespace(
  String Prefix,
  Boolean Report [Optional]
)

CreateBooks

ZAP API Method step

GetReq...space

a

True

namespace

String Prefix

Boolean Report [Optional]

Output Parameter

Parameters

Prefix

Type: String

The Prefix of the XML Namespace

Report (optional)

Type: Boolean

Default Value: False

Generate report for this step

Returns

XML Namespace or Empty string

Example

VBScript

msgbox Server("API Server").Method("CreateBooks").GetRequestXmlNamespace("a", True)

JavaScript

alert(Server("API Server").Method("CreateBooks").GetRequestXmlNamespace("a", true));

CreateBooks

ZAP API Method step

GetReq...space

a

True

namespace

Script-Less next step

ZAP Utility

ZAP Utility step

Zap.Comm...Box

Zap.Var...space")