Hi

Run RUBY with Administrator privileges , Go to your ruby/bin folder and
select "Run this program as an administrator" in ruby properties window.

Sure it should resolve both the issues mentioned.

Thanks


On Thu, Feb 5, 2009 at 4:22 PM, Ravi Kumar <mvraviku...@gmail.com> wrote:

> Hi
>
> We should run Ruby as a Windows Administrator, GoTo your ruby/bin/   Give
> and
>
> On Thu, Feb 5, 2009 at 3:15 PM, Al Snow <jasn...@gmail.com> wrote:
>
>>
>> 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 <wctr...@gmail.com> 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 watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to