JavaScript Functions > Alphabetical Listing of Web Functions > web.setTimeout

web.setTimeout

Specifies the maximum amount of time that a script waits for the specified operation to be performed.

Syntax

web.setTimeout( action, timeOut );
Argument
Description
action
Identifies the operation to which the timeout applies. The available string values are:
CONNECT
To establish the connection to the Web server.
RECEIVE
Time–out on the next "portion" of server response to arrive.
STEP
Time–out on each VuGen step.
timeOut
The time–out time (in seconds).

Return Values

Not applicable

Parameterization

The following argument(s) can be parameterized using standard parameterization: action, timeOut

General Information

The web.setTimeout function is a service function that specifies the maximum amount of time to wait for a CONNECT, RECEIVE, or STEP operation to be performed.

Example

web.setTimeout("CONNECT", "60");