Issue w IEWaitDocumentComplete> on web site

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
hagchr
Automation Wizard
Posts: 327
Joined: Mon Jul 05, 2010 7:53 am
Location: Stockholm, Sweden

Issue w IEWaitDocumentComplete> on web site

Post by hagchr » Wed Sep 16, 2015 10:22 am

Hi, For the first example IEWaitDocumentComplete waits as it should. For the second example it does not wait. How should one understand it? Is the web site not supporting IE or?

Code: Select all

IECreate>IE[0]
IEGetHWND>IE[0],IEMain
IEShowIE>IE[0],1
Let>WIN_USEHANDLE=1

Let>URL1=http://www.mjtnet.com
Let>URL2=http://www.di.se

SetFocus>IEMain
IENavigate>IE[0],URL1,res
IEWaitDocumentComplete>IE[0],res
MDL>ok

SetFocus>IEMain
IENavigate>IE[0],URL2,res
IEWaitDocumentComplete>IE[0],res
MDL>ok

IEQuit>IE[0],res

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