I am new to this product. Some time ago I started to write a small script which can manipulate by one of our web based applications. Everything was ok and I am almost finished when all the sadden it stopped working. It gives me some errors inside of IE.au3 on different functions.
For example this piece of code which was working fine
now give me the error:
After many experiments and researching the internet I decided to make a very small script to see if problem reappear.
I was very surprised. The same code works for some websites and fails on mine.
Here is my sample code:
For example this piece of code which was working fine
ConsoleWrite("SubmitLoginForm started" & @CRLF) if not IsObj($Obj) then ConsoleWrite(" $Obj is not not an object" & @CRLF) $colForms = _IEFormGetCollection($Obj) if @error Then ConsoleWrite(" Returned back to my code" & @CRLF )
now give me the error:
SubmitLoginForm started C:\Program Files (x86)\AutoIt3\Include\IE.au3 (2227) : ==> The requested action with this object has failed.: Return SetError($_IEStatus_Success, 0, $o_object.document) Return SetError($_IEStatus_Success, 0, $o_object.document^ ERROR ->12:46:19 AutoIT3.exe ended.rc:1 >Exit code: 1 Time: 7.342
After many experiments and researching the internet I decided to make a very small script to see if problem reappear.
I was very surprised. The same code works for some websites and fails on mine.
Here is my sample code:
#include <IE.au3> ;$URL='http://www.yahoo.com' ; works ;$URL='http://www.google.com' ; works $URL='http://www.softcomputer.com' ; does not work $oIE = _IECreate ($URL, 0, 1, 1, 1) If @error Then ConsoleWrite("Error creating Internet explorer obj." & @CRLF)It works for YAHOO and GOOGLE . On Softcomputer.com it fails with message:
Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\autoit3_x64.exe "C:\AutoScripts\Samples\TMS_STUDIO\MyTest.au3" --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop C:\Program Files (x86)\AutoIt3\Include\IE.au3 (560) : ==> The requested action with this object has failed.: WEnd WEnd^ ERROR ->13:02:46 AutoIT3.exe ended.rc:1 >Exit code: 1 Time: 2.018I am completely out of ideas where to look. May be somebody can give a hint.