und? What have
you tried?
/\/\ark
> -Original Message-
> From: watir-general@googlegroups.com [mailto:watir-
> gene...@googlegroups.com] On Behalf Of Vishal
> Sent: Wednesday, September 23, 2009 7:29 AM
> To: Watir General
> Subject: [wtr-general] Re: How
I am getting the following error
d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in
`assert_ex
ists': Unable to locate element, using :text, "Return to Previous
Page" (Watir::
Exception::UnknownObjectException)
from d:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
e
What exception are you seeing? What would you like to do when you encounter
it? Without more information, it will be hard to give you more than basic
information about exception handling.
Here is the link to a page about ruby exception handling that I refer to
when working in this area:
http://
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 wrote:
>
> While running