For Problem 1, its not elegant and there's probably a better way to do
it, but you could create an array with all the id's of the images you
need loaded, then do something like this:

imgarr.each{ |img|
    Watir::Waiter.new(20).wait_until{ie.image(:id,img).exist?}
}

I think this will go through each image and wait till it exists. If an
image doesn't get loaded in 20 seconds it will throw a Timeout
Exception.

I've had a lot of problems with the way Watir waits for things and
haven't really found a good solution overall.

-Dylan

On Aug 12, 1:52 am, Tony <ynot...@gmail.com> wrote:
> Hi Maumita,
>
> 1. Not sure on this.
> 2. You can add your scripts to a batch file and run the batch file
> from task scheduler.
>
> Thanks,
> Tony
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to