Wait Statement
Description
Initiates a pause during a run session.
Syntax
Wait Seconds, [Milliseconds]
Argument | Type | Description |
---|---|---|
Seconds | Number | Number of seconds to wait between steps. |
Milliseconds | Number | Optional. Number of milliseconds to wait between steps. |

The following example uses the Wait method to pause 10 seconds before starting to select a tablet during the test run.
Browser("Advantage Shopping").Page("Advantage Shopping").Link("TabletsCategoryTxt").Click
Wait(10)
Browser("Advantage Shopping").Page("Advantage Shopping").WebElement("HP ElitePad 1000 G2 Tablet").Click
See also: