RK, If your OS is Vista, then the answer is in the FAQ - http://wiki.openqa.org/display/WTR/FAQ#FAQ-WhatshouldIdoiftwobrowserwindowsappearwhenrunningatestunderWindowsVista%3F
Al On Feb 5, 1:47 pm, 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 -~----------~----~----~----~------~----~------~--~---
