Exit Posted November 17, 2013 Share Posted November 17, 2013 (edited) I want to check if an Input field contains the value just set before. #include "IE.au3" $oIE = _IECreate("https://secure.rabodirect.de/exp/policyenforcer/pages/loginB2CDGPEN.jsf?anmelden") $oObject = _IEGetObjById($oIE, "j_username_dig") _IEPropertySet($oObject, "innertext", "12345678") $DigiNumber = _IEPropertyGet($oObject, "innertext") MsgBox(262144, "Debug Value " & @ScriptName, "Error: " & @error & " Extended: " & @extended & @LF & "$DigiNumber: >" & $DigiNumber & "<", 0) _IEQuit($oIE) The inputfield contains "12345678", but the messsagebox shows no error and $DigiNumber="0" instead of "12345678" Where is my coding error? Edited November 17, 2013 by Exit App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Developers Jos Posted November 17, 2013 Developers Share Posted November 17, 2013 This looks a lot like automating a login for a Bank, which I don't think is something to discuss here in open forum. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Solution Exit Posted November 17, 2013 Author Solution Share Posted November 17, 2013 (edited) It is not possible to automate the login to Rabobank. You need a "Digipass". This is a hardware device which generates a random key for login. I just want to prefill my account number. Ok, lazy coder I want to check if the number is already filled and then I recognized this strange behavior. Perhaps somebody can enlighten me. Edit: Solved thanks to billo. Using _IEFormElementGetValue() did the trick. Edited November 17, 2013 by Exit App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now