I have no idea what's going on with your box and setup. Here's what I would
suggest. Dump your ruby install, reinstall clean, update rubygems, install
watir which should be 1.6.5 at this point. You're running vista, so you need
to install as admin and run command line as admin. Once done with that run
command line, irb and do the simple script:
> require 'watir'
> b = Watir::IE.new
> b.goto('http://www.google.com')
> b.text_field(:name, 'q').set('foo')
and whatever else.
Otherwise I don't know what's going on, my guess is some sort of Vista UAC
garbage, as Bret mentioned before. Let us know.
-c
On Wed, Nov 11, 2009 at 12:46 PM, tester86 <[email protected]> wrote:
>
> I keep on seeing the following error everything I try to perform an
> verifcation check or find a text box on the page and enter in text:
>
>
> undefined method `contains' for #<Watir::IE:0x89684c8> (NoMethodError)
>
> Can someone please explain why I am getting these errors. Even when I
> try to run a sample script from the Internet it does not work.. Can
> someone please explain what going on is it vista or am I missing a
> gem....
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---