Forum Discussion
Is there anyway to wait for page fully loaded? because if I wait for a particular object, it can only apply to that specific test step, but if I can wait for a page fully loaded, then I can use it for all tests.
Yes, you are using the proper wait function for the page. I suggest checking the Result value to make sure you are waiting long enough.
Result Value
The Wait method returns the 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 will return the URL of the last page that was loaded in the frame.
If the loading was not successful or the page was not loaded before the time limit specified by the WaitTime parameter was reached, the method returns an empty string.