i think this happens on Vista. try searching the maillist for vista
and see if you get asolution. Im sure it has been solved, just dont
remember right now how.

Paul

On Thu, Feb 5, 2009 at 11:47 AM, RK <[email protected]> wrote:
>
> Hi Frnd,
>
> I have updated ruby & Watir from 1.5.3 to 1.6.2 and getting below
> issues.
> Code:
> require 'rubygems'
> require 'watir'
> @@browser = Watir::IE.new()
> @@browser.goto("www.google.com")
> @@browser.text_field(:name,'q').set('watir')
> @@browser.close
>
> Issues :
> 1)  It Opens two browser windows( Blank & Google)
>
> 2) c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:
> 52:in `assert_exists': Unable to locate element, using :name,
> "q" (Watir::Exception::UnknownObjectException)
>        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> element.rb:284:in `enabled?'
>        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> element.rb:56:in `assert_enabled'
>        from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> input_elements.rb:323:in `set'
>        from Basic.rb:9
>
> Looking for Help......
>
> Regards
> RK
>
> >
>

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