Usage
Function GetRequestAttachmentPath(
String Name,
Boolean Report [Optional]
)
CreateBook
GetReq...Path
book
True
path
String Name
Boolean Report [Optional]
Output Parameter
Parameters
Name
Type: String
The name of the Attachment
Report (optional)
Type: Boolean
Default Value: False
Generate report for this step
Returns
Attachment Path
Example
VBScript
msgbox Server("API Server").Method("CreateBook").GetRequestAttachmentPath("book", True)
JavaScript
alert(Server("API Server").Method("CreateBook").GetRequestAttachmentPath("book", true));
CreateBook
GetReq...Path
book
True
path
ZAP Utility
Zap.Comm...Box
Zap.Var...("path")
