Hi!

I use the following require statements for Test::Unit with Watir
assertions:

require 'test/unit'
require 'watir/assertions'

Then in my TestSuite class, I have have the following include
statement:

include Watir::Assertions

-Tiffany

On Apr 22, 8:36 am, Bret Pettichord <[email protected]> wrote:
> Durgesh Nadkarni wrote:
>
> > I have installed the ruby 1.8.6 and WATIR 1.6.2.. I am using
> > Test::Unit assertions.
>
> > I have tried the verify method but when I ran the script it has given
> > me the error as undefined method 'verify'.
>
> yes the library needs to be loaded.
>
>   require 'watir/testcase'
>
> or something like that.
>
> --
> Bret Pettichord
> CTO, WatirCraft LLC,www.watircraft.com
> Lead Developer, Watir,www.watir.com
> Blog,www.io.com/~wazmo/blog
> Twitter,www.twitter.com/bpettichord
>
> Ask me about Watir trainingwww.watircraft.com/training
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to