Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Ieformgetcollection/ieformsubmit Error

$
0
0
Hi Guys!!

    Could you help me? I am trying generate an exe but the code show me an error:

Do you know Why?

>"C:\Archivos de programa\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Documents and Settings\Sergio Aranda\Mis documentos\AutoItScripts\ILVS_DownloadProcess.au3"
C:\Archivos de programa\AutoIt3\Include\IE.au3 (585) : ==> The requested action with this object has failed.:
WEnd
WEnd^ ERROR
>Exit code: 1    Time: 4.800

Code:

#include


Dim $InitalUrl
$InitalUrl="www.xxxxx.com"

Local $oIE = _IECreate($InitalUrl)
;_IELoadWait($oIE)
Local $oForm = _IEFormGetCollection($oIE, 1)
Local $oQuery = _IEFormElementGetCollection($oForm, 3)
Local $oQuery2 = _IEFormElementGetCollection($oForm, 4)
_IEFormElementSetValue($oQuery, "prabhu123")
_IEFormElementSetValue($oQuery2, "doortrim")
_IEFormSubmit($oForm)

Viewing all articles
Browse latest Browse all 12506

Trending Articles