Jump to content

why my _IEFormSubmit not submit

Recommended Posts


i am automating this url



here is my code

#include <IE.au3>
Local $oIE = _IECreate("http://graphic-dl.com/postsend?PostId=34026")
Local $oForm = _IEFormGetObjByName($oIE, "form0")
Local $oText = _IEFormElementGetObjByName($oForm, "Name")
_IEFormElementSetValue($oText, "meethayaam")
Local $oText = _IEFormElementGetObjByName($oForm, "email")
_IEFormElementSetValue($oText, "meethayaam@gmail.com")

code work fine. It fill 2 field but unable to submit any idea why it not work ?

Edited by ironmankho
Link to post
Share on other sites

Two things --

1) For me, the code ended in error

"C:\Program Files (x86)\AutoIt3\Include\IE.au3" (1458) : ==> The requested action with this object has failed.:
$oObject^ ERROR
->17:41:43 AutoIt3.exe ended.rc:1

so, it doesn't work fine as is.

2) Read the help file for _IEFormSubmit, especially the portion under the Remarks section. Then check out the example to click the button under_IEAction.

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...