alfa Posted April 11, 2014 Posted April 11, 2014 Hello, I have a problem with my previous scripts. I used use a WINXP for my scritps, now i had to switch to win7. The first thing I tried after I setup the machine was to try to run the scripts and nope This is what i try to run. #include <IE.au3> #include <Excel.au3> Global $Paused HotKeySet("{ESC}", "Terminate") Func Terminate() Exit 0 EndFunc $oIE = _IECreate("https://portal") _IELoadWait ($oIE, 1000) Sleep (500) ;;~ Send("{TAB 10}") MouseClick("left", 524, 327, 1, 0) ;Username Sleep (500) Send("username") sleep (50) Send("{TAB}") sleep (1000) Send("pass") sleep (50) Send("{ENTER}") sleep (50) _IELoadWait ($oIE, 1000) and this is what i get >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\aozben\Desktop\AutoIt3\Projects\Wip.au3" --> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_ClientDisconnected (-2147023179, Browser has been deleted prior to operation.) --> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_InvalidObjectType () --> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_InvalidObjectType () --> IE.au3 T3.0-1 Error from function _IENavigate, $_IEStatus_InvalidObjectType I think i am going to have a lot more questions about this winxp to win7 issue, pls be patient with me Thanks in advance Alp
alfa Posted April 14, 2014 Author Posted April 14, 2014 Am i the only one that had issues with xp to 7 ?
Unc3nZureD Posted April 14, 2014 Posted April 14, 2014 Well, on Win8 I've got no error :/ I'm not sure if it helps, but you can try to add #RequireAdmin at the top of your script.
Danp2 Posted April 14, 2014 Posted April 14, 2014 Have you read >this response from Dale Holm? Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now