Pauses the test execution until the web page is downloaded. The page loading timeout is specified by the TestLeft.Options.WebTesting.PageLoadTimeout value (the default value is 1 minute).
Namespace:
SmartBear.TestLeft.TestObjects.Web
Assembly:
SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
Syntax Function Wait As String
Dim instance As IWebPage
Dim returnValue As String
returnValue = instance.Wait()
Return Value
Type:
StringThe URL of the page or resource that was loaded last on the page. If the web page does not contain frames and the page was loaded successfully,
the Wait method returns the page's URL. If the page contains frames, the method returns the URL of the page that was last loaded in a frame.
If the loading was not successful or the page had not finished loading before the timeout elapsed, the method returns an empty string.
Exceptions See Also