[Wtr-general] NoMethodError for verify method in assertions.rb
Bret Pettichord
bret at pettichord.com
Thu Jul 5 16:56:29 EDT 2007
Tiffany Fodor wrote:
> Hi all!
>
> I'm trying to use the verify method from assertions.rb, but I keep getting the following error:
>
> undefined method 'verify' for main:Object (NoMethodError)
>
> I've added
> require "watir/assertions"
> to the beginning of my script, but still can't use the verify method. Is anyone else using this successfully?
>
You will also need to add an
Include Watir::Assertions
to your test code.
If you show us your test code, we can show you where it goes.
Bret
More information about the Wtr-general
mailing list