Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Exist and Visible Are True When Objects Aren't There - Is there A Better Way?
#4
Not Solved
I know at every point in my script where the page changes.  I just want a Sub-Routine that waits for the page to completely load and tell me the Title and the URL

As you rightly mentioned, check for the page loading status 


Code:
Browser("Browser").Page("Page").object.readyState

then get the URL/Title

Code:
msgbox Browser("Browser").Page("Page").GetROProperty("url")
msgbox Browser("Browser").Page("Page").GetROProperty("title")
Reply


Messages In This Thread
RE: Exist and Visible Are True When Objects Aren't There - Is there A Better Way? - by Ankur - 04-24-2018, 02:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile If Then Is Always True For Web Objects zunebuggy 1 791 04-17-2020, 04:30 AM
Last Post: zunebuggy
  Time Delay issue with Exist mv8167 11 24,032 06-19-2017, 02:56 PM
Last Post: grosorg
  [UFT] [WPF] DataGrid: check if vertical and horizontal scrollbars are visible robertosalemi 0 2,260 07-13-2016, 06:33 PM
Last Post: robertosalemi
  Intermitent "Object not visible" error erodpr 5 3,288 01-14-2016, 10:55 AM
Last Post: vinod123
  Performance Issues Using '.Exist' AndyBSG 2 3,189 12-12-2014, 03:24 PM
Last Post: AndyBSG

Forum Jump:


Users browsing this thread: 1 Guest(s)