Sets multiple values on the querystring of the given locator.

Syntax

Smartsite SXML CopyCode image Copy Code
locator url.setparameters(locator location, boolean mapUrlParams, string[ ] pairs)
locator url.setparameters(locator location, string[ ] pairs)

Parameters

Name Data Type Description
location Locator The locator on which the querystring parameters are set.
mapUrlParams Boolean If set to true the given parameters are mapped to URL parameters in the given order.
pairs String[ ] Key value pairs of parameters (notation: key=value).

Return Value

Data Type Description
Locator

Expand image Example

SXML