Jump to content

Recommended Posts

Posted

Hello

I am trying to open a few webpages, extract some info and copy it to excel. The webpage is in Java so I have been using mouseclicks. That works, but I have since realised that because of the way the Java is coded, I can use URLs to access the controls.

If I run this code, it works perfectly

$oie = _IECreate("www.bbc.co.uk")
sleep(5000)
_IENavigate ($oie,"www.google.co.uk")

If I run this code it works

$oie = _IECreate("www.bbc.co.uk")
sleep(5000)
_IENavigate ($oie,"http://psssv2/reporting/checklist/checklist_home.ASP")

If I run this code I get the error below.

$oie = _IECreate("http://psssv2/reporting/checklist/checklist_home.ASP")
sleep(5000)
_IENavigate ($oie,"www.bbc.co.uk")

--> IE.au3 T3.0-2 Error from function _IELoadWait, $_IESTATUS_ClientDisconnected (-2147417848, Browser has been deleted prior to operation.)
--> IE.au3 T3.0-2 Error from function _IENavigate, $_IESTATUS_InvalidObjectType

IE opens the intranet page and the browser it still open, but fails to open the BBC website so I am guessing it is something to do with my intranet page.

Any help would be apprectiated 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...