Share this page

# web.setTimeout

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

Example | Replay Functions

## 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");

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: