FormFill Locking up in version 13

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
davidwms
Junior Coder
Posts: 23
Joined: Wed Aug 26, 2009 6:18 pm
Location: Madison, AL
Contact:

FormFill Locking up in version 13

Post by davidwms » Wed May 23, 2012 8:45 pm

I have a script that was working perfectly in version 12 but when I upgraded to version 13 and the WebRecorder to version 3 it now hangs up for 1 full minute at the following part of the script before it displays the message at the end although the secret word is highlighted to show that it executed the FormFill command:

Code: Select all

// click on submit button
Let>FrameName={""}
Let>FormName={"form1"}
Let>TagValue={"imgbtnSubmit"}
LibFunc>hIE,ClickTag,r,%IE[2]%,str:FrameName,str:FormName,INPUT,NAME,str:TagValue

LibFunc>hIE,WaitIE,r,IE[2]
Wait>delay
Wait>2
//SetFocus>Secure Login - Windows Internet*

// choose the secret word in a list box
Let>FrameName={""}
Let>FormName={"form1"}
Let>FieldName={"lbSecretWord"}
Let>FieldValue={%sSecWord%}
LibFunc>hIE,FormFill,r,%IE[2]%,str:FrameName,str:FormName,str:FieldName,str:FieldValue,0
//IE_FormFill>IE[2],,str:FormName,str:FieldName,str:FieldValue,0,r
MessageModal>entered Security word - hanging up here
I hope you have some idea how to fix this because I am out of answers.
David Williams

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu May 24, 2012 11:42 am

Is the page busy during that wait? Does the form field exist when the script reaches that line? What is your timeout set to (with IE_SetTimeout)? How can we test and run the script here?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

davidwms
Junior Coder
Posts: 23
Joined: Wed Aug 26, 2009 6:18 pm
Location: Madison, AL
Contact:

Post by davidwms » Thu May 24, 2012 8:51 pm

Thanks for the reply,

The page is not busy while it is waiting.
The field does exist since it highlights the correct secret word in the scroll box.
The timeout is 1 minute if I do not have the IE_SetTimeout in the script and it is reduced to whatever I set it when I include the command.
I can send you part of the script to test but do not want to give userIDs in a forum.
I appreciate the help.
David Williams

davidwms
Junior Coder
Posts: 23
Joined: Wed Aug 26, 2009 6:18 pm
Location: Madison, AL
Contact:

Post by davidwms » Thu May 24, 2012 9:14 pm

I have a work around by seting the timeout just before selecting the secret word to 1 second and then imediately after selecting it setting the timeout back to 10.

Please let me know if you would like to run the script to find out why it is not releasing imediately.
David Williams

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