[wtr-general] Re: Is there any way to run a watir script automatically in every hour.

2009-08-12 Thread Tony
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

[wtr-general] Re: Is there any way to run a watir script automatically in every hour.

2009-08-12 Thread Dylan
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