macvoo Posted October 7, 2013 Share Posted October 7, 2013 (edited) Dear AutoIT-Community, I am writting a Script which shall messaure the Performance of some Intranetsites, every Minute several Sites. (I am limited to IE9 + W7) and writing the time to log files using IE.au3 Lib and _IECreate $oie = _IECreate("http://myIntranet.com/",0,1,1,0) i get the following error C:\Program Files (x86)\AutoIt3\Include\IE.au3 (560) : ==> The requested action with this object has failed.: WEnd WEnd^ ERROR but in fact i think its this line which produces the error, because there is no object to fetch =( IE.au3 (233) Local $o_object = ObjCreate("InternetExplorer.Application") also with ObjGet("","InternetExplorer.Application") there was no chance to get the object of the intranet site BTW: We are using single-sign-on in our company, and there is no way to turn it of. So I tried to use Mouseclicks to click through the side, but every 10-100 runs, an error occurs, because the script is not clicking accurate. stuff like: Sleep(3050) Send("{TAB}3{ENTER}") Sleep(1250) MouseClick("left",406,355,2) $begin = TimerInit() Sleep(100) $alternative = 0 Do Sleep(150) $dif = TimerDiff($begin) MouseClick("left",517,230,1) Send("{CTRLDOWN}a{CTRLUP}{CTRLDOWN}c{CTRLUP}") $alternative = $alternative + 1 Until StringLeft(ClipGet(), 10 ) = "Oil&Gas" or $alternative > 30 My last chance was to compare ImagesSearch.au3 (http://www.autoit.de/index.php?page=Thread&threadID=20415) but i couldnt make it to compare a single image. using this TUT: Edited October 7, 2013 by macvoo Link to comment Share on other sites More sharing options...
water Posted October 7, 2013 Share Posted October 7, 2013 If you search the forum for this error message and the IE UDF you will find a lot of threads. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
macvoo Posted October 8, 2013 Author Share Posted October 8, 2013 (edited) If you search the forum for this error message and the IE UDF you will find a lot of threads. you are absolutely right! Sorry on that. Using the latest AutoIT Beta + latest IE.au3 solved the problem, so i now can use IE.au3 library for the Intranet. '?do=embed' frameborder='0' data-embedContent>> can I close this thread on my own?! Edited October 8, 2013 by macvoo Link to comment Share on other sites More sharing options...
water Posted October 8, 2013 Share Posted October 8, 2013 Glad you got your problem solved I think you need at least a post count of 10 before you can close a thread by editing the first post. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki 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