I am evaluating WebRecorder. The time it takes to load a page may vary. Is WaitIE used to determine a Web page is finished loading? I see multiple calls to WaitIE. Is it possible to use a While loop?
LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay
LibFunc>hIE,WaitIE,r,%IE[0]%
Wait>delay
________
Dream Fund
Need help with the WaitIE function
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 10
- Joined: Wed Apr 18, 2007 5:51 pm
Need help with the WaitIE function
Last edited by usernamechan on Tue Feb 01, 2011 12:25 pm, edited 1 time in total.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
WaitIE waits for the page to finish loading. The reason for more than one is that some actions cause multiple page loads (consider frames, Ajax etc).
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Newbie
- Posts: 10
- Joined: Wed Apr 18, 2007 5:51 pm
I am testing WebRecorder on a site with frames. I have used multiple WaitIEs. Due to fluctuations with load time and server response time, sometimes the script results in error. Is there a way to check the status of the browser? For instance, once the site finishes loading, the bottom left corner status says "Request Complete". Is it possible to check for that status programmatically?
________
n02 vaporizer
________
n02 vaporizer
Last edited by usernamechan on Tue Feb 01, 2011 12:27 pm, edited 1 time in total.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
That is exactly what WaitIE does. It waits until all requests are complete and IE is no longer busy.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Newbie
- Posts: 10
- Joined: Wed Apr 18, 2007 5:51 pm
Sometimes errors do occur when the response time or server stalls. Would putting more WaitIE help?
________
vaporizer pipe
________
vaporizer pipe