[Wtr-general] Why? [09-May-2006 08:58:20#3372] WARN -- : runtime error in wai t

Paatsch, Bernd BPaatsch at activevoice.com
Tue May 9 12:14:05 EDT 2006


Hello,

My code generates following output:

W, [09-May-2006 08:58:20#3372]  WARN -- : runtime error in wait
 ...Successful added

if ie2.button( :value, ' Done ' ).exists? then 
   begin 
        ie2.button( :value, " Done ").click 
        print"\n ...Successful added"
   rescue Exception, RuntimeError => runtime_error 
        puts " runtime"
   end
end

How can I prevent, catch the warning? I though having a rescue statement
would do the job.

Thanks for your help.
Bernd


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060509/e2550a50/attachment.html 


More information about the Wtr-general mailing list