|TestObj||A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section|
The method is applied to the following object:
To view this method in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
The method has the following parameter:
The number of milliseconds to wait until the specified object becomes available. If Timeout is 0, the method returns immediately. If Timeout is -1, the wait time is infinite.
Alert object that corresponds to an alert that the web page is showing.
If the page is not showing any alerts, the method will return a stub object. To determine whether the method returns a valid object, use the
Exists property of the returned object. If the property returns False, the object is a stub object.
Alert Method (Page Objects)