message 1:
Line 1124 AutoIt3\Include\IE.au3: Local $o_col = $o_object.document.forms.item($s_Name) Local $o_col = $o_object.document^ ERROR Error: The requested action with this object has failed.
message 2:
Line 560 AutoIt3\Include\IE.au3: WEnd WEnd^ ERROR Error: The requested action with this object has failed.
AutoIt Version: 3.3.8.1
Windows 7
IE 8
Autoit script:
#include <IE.au3> $oIE = _IECreate("<a href='http://10.215.144.66/apps/portal/index_login.php' class='bbc_url' title='External link' rel='nofollow external'>http://10.215.144.66/apps/portal/index_login.php"</a>) $oForm = _IEFormGetObjByName($oIE, "form1") $oUser = _IEFormElementGetObjByName($oForm, "user") $oPasswd = _IEFormElementGetObjByName($oForm, "password") $user = "user" $passwd = "password" _IEFormElementSetValue($oUser, $user) _IEFormElementSetValue($oPasswd, $passwd)
LAN web page ("http://10.215.144.66/apps/portal/index_login.php"):
<html> <body> <table width="100%" border="0" height="90%"> <tr> <td valign="top" width="120" bgcolor="#CCCCCC" height="100%"> <div align="right"> <form name="form1" id="form1" method="post" action="<a href='https://webapps.domain.org/apps/portal/index.php%22>' class='bbc_url' title='External link' rel='nofollow external'>https://webapps.domain.org/apps/portal/index.php"></a> <table border="0" bordercolor="#003399" width="100%" cellspacing="0" cellpadding="0"> <tr bgcolor="#003399"> <td colspan="2"> User </td> </tr> <tr> <td> <br> User </td> <td> <br><input type="text" name="user" id="user"> </td> </tr> <tr> <td>  Password </td> <td> <input type="password" name="password" id="password"> </td> </tr> <tr> <td align="right" colspan="2"> <input type="submit" name="btsubmit" value="Enter"> </td> </tr> </table> </form> </div> </td> </tr> </table> </body> </html>
Any ideas?
Thanks
Vieri



