catch WIN32OLERuntimeError this exception in the same way as you did for Watir::Exception::NoMatchingWindowFoundException
- Angrez On 6/22/07, mihai <[EMAIL PROTECTED]> wrote:
tnx it works; i have another problem, please help i have this error: c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1787:in `method_missing': unknown property or method `document' (WIN32OLERuntimeError) HRESULT error code:0x80010108 The object invoked has disconnected from its clients. from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1787:in `document' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:1254:in `show_frames' from administration.rb:345 How can i keep running the script if this errors apears? i want to skip this error and execute the next test _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general