IE - Login Formular ausfüllen

  • Hallo,

    ich möchte per autoIT den Internetexplorer starten und das GMX-Login-Formular ausfüllen.

    Meine Werte kommen aber nicht im Formular an.

    Was mache ich falsch?

    Vorab schon mal Danke.

  • Das sind die Fehlermeldungen:

    --> IE.au3 V2.4-0 Warning from function _IEFormElementGetObjByName, $_IEStatus_NoMatch
    --> IE.au3 V2.4-0 Warning from function _IEFormElementGetObjByName, $_IEStatus_NoMatch
    --> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
    --> IE.au3 V2.4-0 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
    --> IE.au3 V2.4-0 Error from function _IEFormSubmit, $_IEStatus_InvalidObjectType
    >Exit code: 0 Time: 8.622

  • das mit der pop3 udf hatte ich schon gefunden.

    es sollen keine mails abgerufen werden, sondern nur der login im browser erfolgen.


    ich denke es liegt daran, das die form keinen namen hat.

    was ist zu tun?

  • Ich habe hier im EInsatz:

    Spoiler anzeigen
    [autoit]


    #include <ie.au3>

    [/autoit] [autoit][/autoit] [autoit]

    $account="mailadr@gmx.de"
    $passwort="passwort"

    [/autoit] [autoit][/autoit] [autoit]

    $oIE = _IEcreate ("http://www.gmx.net")
    _IELoadWait($oIE) ;;; nicht unbedingt notwendig
    $oFormLogin = _IEFormGetObjByName ($oIE, "formLoginFreemail")
    $oUser= _IEGetObjByName($oFormLogin,"id")
    $oPasswd = _IEGetObjByName($oFormLogin,"p")
    _IEFormElementSetValue ($oUser, $account)
    _IEFormElementSetValue ($oPasswd, $passwort)
    ;; nur der Login-Button muss noch gedrückt werden

    [/autoit]


    Gruss ExBerliner