internet explorer 7 SEND to password input fails

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
rblack
Pro Scripter
Posts: 87
Joined: Sat Dec 22, 2007 12:39 pm

internet explorer 7 SEND to password input fails

Post by rblack » Sat Dec 22, 2007 1:18 pm

Hello,

I have searched this forums for hours but didnt find answer to my problem:
I have made some simple scripts logging to my accounts on different websites, but after i upgradeed internet explorer 6.0 to 7, all of them stopped working.

I checked in the code, made huge delays (several seconds) after each command but it didnt work. I just cant send data to password INPUT fields in login pages. Here is one of the scripts:

Code: Select all

LibLoad>IEAuto.dll,hIE
If>hIE=0
  MessageModal>Could not load IEAuto.dll, make sure it is in the path or edit the LibLoad line.
  Goto>end_script
EndIf

//Move the mouse cursor out of harm's way to avoid causing mouseover events to interrupt
MouseMove>0,0
Let>delay=1

LibFunc>hIE,CreateIE,IE2,0

LibFunc>hIE,Navigate,r,IE2,http://mypage.net/

LibFunc>hIE,WaitIE,r,IE2

SetFocus>Multibank*

Send>12345678
Wait>delay
LibFunc>hIE,WaitIE,r,IE2 //this wait function doesnt work at all
Press TAB
Send>12345678 // this is not typed in the input box
Press TAB
Press Enter
Last edited by rblack on Mon Sep 08, 2008 6:30 pm, edited 1 time in total.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Dec 22, 2007 3:08 pm

Does this work for you?

Code: Select all

ExecuteFile>https://URL.pl/
WaitWindowOpen>WindowName*
SetFocus>WindowName*
Press TAB*9
Send>12345678
Wait>delay
Press TAB
Send>12345678
Press TAB
Press Enter 
Last edited by Bob Hansen on Mon Sep 08, 2008 10:55 pm, edited 1 time in total.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

rblack
Pro Scripter
Posts: 87
Joined: Sat Dec 22, 2007 12:39 pm

Post by rblack » Sat Dec 22, 2007 3:54 pm

yes, it opens in firefox and works but not fine - the script doesnt wait until the web page is loaded, but it works when i use
wait>4

To be honest, i would like to only use firefox, but its that many ready scripts just doesnt work with firefox.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Dec 22, 2007 7:52 pm

Using ExecuteFile calls on the default browser.
Change to use MSIE:

Run Program>C:\Path\iexplore.exe https://URL.pl/
WaitWindowOpen>WindowName*
Wait>4
SetFocus>WindowName*
Press TAB*9
Send>12345678
Wait>delay
Press TAB
Send>12345678
Press TAB
Press Enter
Last edited by Bob Hansen on Mon Sep 08, 2008 10:56 pm, edited 2 times in total.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

rblack
Pro Scripter
Posts: 87
Joined: Sat Dec 22, 2007 12:39 pm

Post by rblack » Sat Dec 22, 2007 11:32 pm

nope, it doesnt help, i cannot fill via any command the PASSWORD INPUT, nor by SEND> or FillForm

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun Dec 23, 2007 3:03 am

Can you post the log for that script showing where it does not work?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

rblack
Pro Scripter
Posts: 87
Joined: Sat Dec 22, 2007 12:39 pm

Post by rblack » Sun Dec 23, 2007 3:03 pm

well i have found the error: it was the timing...

I was adding delays, but not on the right places...
What is strange on the faster machine with IE7 longer delays were needed
The first machine: 3GHz, 768RAM, IE6.0:
the following code worked:

Code: Select all

Send>12341234
Press TAB
Send>12341234
Press TAB
Press Enter
But on a better machine: 9,6GHz, 4GB RAM, IE7 i had to add delays after pressing TAB (!):

Send>12341234
Press TAB
Wait>1
Send>12341234
Press TAB
Press Enter

Conclusion: IE7 sux :P Dont use it if you dont have to.

Thanks for your help!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts