> I'm gonna patch the method tomorrow to write some stack-based
> recursion. But before I do that I'd like to ask whether someone else
> already fixed this, or else if there is any technical reason that
> prevents that method from being recursive-like.
>
> -- fxn

I have a kind of similar problem.  Here's what I'm doing.

The "i_really_mean_it" method clicks the "OK" button on a new screen.

def send_the_dang_mail
        begin
   @ie.frame("viewtable").link(:text,"Send").click
   i_really_mean_it
   rescue
   sleep 1
   send_the_dang_mail
   #puts "looking for viewtable"
 end

Of course, the moment that the UI in the app changes, this becomes an
endless loop,so it's on the fragile side.
-Chris
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to