IEWaitDocumentComplete doesn't work

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
jcmacro
Newbie
Posts: 1
Joined: Thu May 15, 2014 4:18 pm

IEWaitDocumentComplete doesn't work

Post by jcmacro » Thu May 15, 2014 4:41 pm

Hello,

I have a script to fill a web form. The current macro scheduler version I am using is 9 and operations system is Windows XP. It works fine. I download macro scheduler 14 trial version and test the script on Winndows 7 machines. I change the script using the new syntax. When I test it, it stops at 'IEWaitDocumentComplete' line after loading the login page.I tried to login to google website and IEWaitDocumentComplete works. I wonder if you can hel me figure it out. I'd appreciate your help. Attached is the code I use. Thanks.

Jun

User avatar
Djek
Pro Scripter
Posts: 148
Joined: Sat Feb 05, 2005 11:35 pm
Location: Holland
Contact:

Re: IEWaitDocumentComplete doesn't work

Post by Djek » Fri May 16, 2014 7:19 am

hi Jun,
im not sure what you want to accomplish ?

I guess you want to login to Rodgers
this should work

Code: Select all

IECreate>IE[0]
IENavigate>%IE[0]%,https://www.rogers.com/web/Rogers.portal,ie_res
WaitWindowOpen>Rogers*
wait>0.5
IEWaitDocumentComplete>%IE[0]%,ie_res
IETagEventByAttrib>{"https://www.rogers.com/web/Rogers.portal"},INPUT,ID=shopperId,,2
IETagEventByAttrib>{"https://www.rogers.com/web/Rogers.portal"},INPUT,ID=signinPassword1Hp,,test123
wait>0.5
IETagEventByAttrib>{"https://www.rogers.com/web/Rogers.portal"},A,classname=rui-cta primary,click,

cant really test it, try your user/password to test it
kind regards,
Djek

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