IEwait Issues

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Limpnit
Newbie
Posts: 1
Joined: Sat Jan 21, 2017 2:59 am

IEwait Issues

Post by Limpnit » Sat Jan 21, 2017 3:06 am

Loving the software, still getting used to it but this issue has been bothering me today.

When i use IEWait,IEWaitDocumentComplete,IEWaitTimeout it does not seem to work.

For example if I do

Code: Select all

IEGetFromURL>http://www.yahoo.com,PageTest


Label>Refresh
IERefresh>PageTest,
IEWait>http://www.yahoo.com
goto>Refresh
It does not seem to wait for the page to load instead instead just instantly refreshes.

Same thing happens with all other variations of IEWait. Any pointers?

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1386
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: IEwait Issues

Post by Dorian (MJT support) » Mon Jan 23, 2017 3:03 am

I was able to achieve this using IEWaitTimeout.

One thing I noticed also is that your code used http://www.yahoo.com, whereas for me, yahoo was httpS://www.yahoo.com. This meant IEGetFromURL couldn't find a match and PageTest was -1

Code: Select all

IEGetFromURL>yahoo.com,PageTest

Label>Refresh
IERefresh>yahoo.com,result
IEWaitTimeout>PageTest,30,1,res
goto>Refresh
Yes, we have a Custom Scripting Service. Message me or go here

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