noce Posted January 9, 2014 Share Posted January 9, 2014 I'm using "IE.au3" additional library for manipulating Internet Explorer (_IEAttach, _IECreate and _IENAvigate). On Windows 8.1 64bit pc with IE11 my script has a strange behaviours ... is this class fully compatible/supported with those? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 9, 2014 Moderators Share Posted January 9, 2014 has a strange behaviours How about posting your script so we can help you troubleshoot, rather than asking us to guess at what you're trying to do "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
noce Posted January 10, 2014 Author Share Posted January 10, 2014 (edited) This is my simple script: #include <IE.au3> _IE_VersionInfo() $pBaseUrl = "http://valmic-dt:18080/MYWEBAPP/" ; TOMCAT ;~ $pBaseUrl = "http://valmic-dt:81/MYWEBAPP/" ; APACHE $oIE = _IEAttach($pBaseUrl, "url") Switch @error case $_IEStatus_NoMatch $oIE = _IECreate($pBaseUrl & "jsp/qwp_container.jsp", 0, 1) _IENavigate($oIE, $pBaseUrl) case $_IEStatus_Success _IENavigate($oIE, $pBaseUrl) EndSwitch I run it from Window 7 x64 pc with Internet Explorer 11 (Version 11.0.9600.16476), browser is created and _IENavigate works. This is the console log: >"C:Program Files (x86)AutoIt3SciTE..autoit3.exe" /ErrorStdOut "prova.au3" --> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601) --> IE.au3 T3.0-1 Warning from function _IEAttach, $_IEStatus_NoMatch >Exit code: 0 Time: 1.496 I try it from Windows 8.1 x64 (Version 6.3, build 9600) and the same IE 11 version, browser is created but _IENavigate fails: >"autoit3.exe" /ErrorStdOut "prova-100114.au3" --> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601) --> IE.au3 T3.0-1 Warning from function _IEAttach, $_IEStatus_NoMatch --> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_InvalidObjectType () --> IE.au3 T3.0-1 Error from function _IENavigate, $_IEStatus_InvalidObjectType >Exit code: 0 Time: 0.594 Edited January 10, 2014 by noce Link to comment Share on other sites More sharing options...
Danp2 Posted January 10, 2014 Share Posted January 10, 2014 Does your code work if you add #RequireAdmin? You may want to review the remarks section under the _IENavigate entry in the help file. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
noce Posted January 10, 2014 Author Share Posted January 10, 2014 Oh thanks ... you are right! WIth #RequireAdmin the scripts runs as Windows 7 ... but it's very annoying. I also tried to put _IEAttach after _IECreate (as help says) and it works but sometime _IECreate loops in function _IELoadWait in IE.au3 (row 460): ... While Not (String($o_object.readyState) = "complete" Or $o_object.readyState = 4 Or $f_Abort) ... Link to comment Share on other sites More sharing options...
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