require 'watir'
require 'watir/testcase'
class Test1 < Watir::TestCase
      def test1
      end

      def test2
      end
end

When there is exception in test1, test2 will still run.

Expect it could work.

Thanks.
Wesley Chen.


On Thu, Sep 17, 2009 at 3:02 PM, Vishal <bvkon...@gmail.com> wrote:

>
> While running the testcase in Watir  if an Exception is encountered, I
> program quits at that point.
> How can we handle exception in Watir
>
> Thanks,
> Vishal
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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