rgratis
11 years agoFrequent Contributor
Unable to navigate to page
I recently started developing my first web testing scripts, and I have run into an issue. My first simple script is failing when run on our testing platform. The script does not fail when I run it on my own computer, so it's proving more difficult to troubleshoot.
The testing platform is a bit slower than my computer, and I suspect that the Browser.ToURL call I'm making in my script is being executed too quickly after I start up the browser. Here are the error messages I'm receiving:
Script:
Set Page = Browser.ToUrl("<my url here>", 90000)
Internet Explorer:
URL: <my url here>
Process ID: 3368
Process Command Line: "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
Info: Cannot find any visible Page node.
Sys.Browser("iexplore")
Chrome:
URL: <my url here>
Process ID: 5816
Process Command Line: "C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-hang-monitor
Info: Cannot find any existing or open blank page.
Sys.Browser("chrome")
The screenshots that accompany the error messages clearly show the browser on screen. The call appears to time out after 30 seconds, even though I am passing the timeout value 90000.
Any suggestions?
Thanks.
The testing platform is a bit slower than my computer, and I suspect that the Browser.ToURL call I'm making in my script is being executed too quickly after I start up the browser. Here are the error messages I'm receiving:
Script:
Set Page = Browser.ToUrl("<my url here>", 90000)
Internet Explorer:
Unable to navigate to the <my url here> page.
URL: <my url here>
Process ID: 3368
Process Command Line: "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
Info: Cannot find any visible Page node.
Sys.Browser("iexplore")
Chrome:
Unable to navigate to the <my url here> page.
URL: <my url here>
Process ID: 5816
Process Command Line: "C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-hang-monitor
Info: Cannot find any existing or open blank page.
Sys.Browser("chrome")
The screenshots that accompany the error messages clearly show the browser on screen. The call appears to time out after 30 seconds, even though I am passing the timeout value 90000.
Any suggestions?
Thanks.