Wait

Description:
Wait the specified number of seconds

Format:
Wait (integer Seconds)

Parameters:

Integer

Seconds

The time in seconds to wait before proceeding

Return Value:

Integer

Seconds

The number of seconds waited

Usage:
Use this function to wait the specified number of seconds before proceeding. AutoWeb automatically waits for Documents to be loaded before proceeding, so there is normally no need to add pauses for button clicks or link clicks, etc.. Use this function to add pauses so that the user can see what is occurring or to slow down execution enough so that script execution can be paused by using the Pause button on the AutoWeb Control Panel.

Example 1:
Set two fields on a document and wait 3 seconds so the user can see the values before clicking on the 'Submit' button.

SetFieldWithLabel ('User ID:', 'JohnSmith')
SetFieldWithLabel ('Password:', 'Cactus')
Wait (3)
ClickButtonWithText ('Submit')

Hosted by www.Geocities.ws

1