Hi Al -

When I try using 'x = Watir::Browser.new', I get a different error
message:
    NameError: (eval):1:in `klass': uninitialized constant Watir::IE

Here is a link to the complete text of the error - http://pastie.org/374843

thanks, arco


On Jan 29, 5:40 pm, Al Snow <jasn...@gmail.com> wrote:
> Arco,
>
> >> x = Watir::IE.new
>
> Bret's Blog on Watir 
> 1.6.2:http://www.io.com/~wazmo/blog/archives/2008_11.html#000288
>
> New way to do "Watir::IE.new" is "x = Watir::Browser.new".
>
> Maybe the file's group is wrong. It says "None" in the Pastie.
>
> Cheers,
> Al Snow
>
> On Jan 29, 8:13 pm, Arco <akl...@gmail.com> wrote:
>
> > Hi Al - thanks for your suggestion.
> > I am running Cygwin on XP.
> > I tried running as administrator. (didn't know you could do that!!)
> > I got the same error message as I got when running under my userid.
>
> > On Jan 29, 5:03 pm, Al Snow <jasn...@gmail.com> wrote:
>
> > > Arco,
>
> > > What OS are you running under?
>
> > > I am setting up stuff on Vista (InstantRails and Watir) and found
> > > that most things worked from administrator login, but some did
> > > not work as regular login. Suggest try opening Cygwin window
> > > as administrator by right click on the Cygwin icon
> > > ("Run as administrator") to open the window.
>
> > > Good Luck,
> > > Al Snow
>
> > > On Jan 29, 7:49 pm, Arco <akl...@gmail.com> wrote:
>
> > > > What do you mean by a 'regular command prompt'??  (I will try it, once
> > > > I understand what you have in mind!!)  I did try using Watir inside of
> > > > a cucumber step but it failed with the same messages I get in irb.
>
> > > > Tiffany - what version of ruby are you using??  I am using:
> > > >     a...@ipon ~> ruby -v
> > > >     ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin]
>
> > > > On Jan 29, 4:34 pm, Tiffany Fodor <tcfo...@comcast.net> wrote:
>
> > > > > Hi!
>
> > > > > Just curious....
>
> > > > > Have you tried this with a regular command prompt to rule out problems
> > > > > with your Watir/Ruby installation?  We've successfully run Watir with
> > > > > Cygwin on XP here, but I don't recall having to do anything special to
> > > > > get it to work.
>
> > > > > -Tiffany
>
> > > > > On Jan 29, 7:55 am, Arco <akl...@gmail.com> wrote:
>
> > > > > > Hi Sai - Yes I did check the permissions, and searched the 
> > > > > > newsgroups
> > > > > > for possible solutions.  I tried running Watir on different cygwin
> > > > > > platforms w/o success.
>
> > > > > > Could the bug be tied to a certain version of ruby??
>
> > > > > > On Jan 28, 1:53 am, sai <saidesertrose2...@gmail.com> wrote:
>
> > > > > > > Not sure how many have tried Watir with Cygwin but your problem 
> > > > > > > seems
> > > > > > > to be a permission one.
> > > > > > > Can you try to change the permission by doing a chmod and check 
> > > > > > > if it
> > > > > > > is working?
>
> > > > > > > Also has anyone faced any problems in using Watir with PowerShell?
>
> > > > > > > Regards,
> > > > > > > Sai
>
> > > > > > > On Jan 27, 6:19 pm, Arco <akl...@gmail.com> wrote:
>
> > > > > > > > Watir doesn't work for me.  Sadly ironic, for a regression test
> > > > > > > > tool...
>
> > > > > > > > Platform: WinXP / Cygwin
> > > > > > > > Ruby: ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin]
> > > > > > > > Watir 1.6.2
>
> > > > > > > > Here's what I do:
> > > > > > > > - gem install watir
> > > > > > > > - irb
>
> > > > > > > > >> require 'watir'
> > > > > > > > => true
> > > > > > > > >> x = Watir::IE.new
>
> > > > > > > > LoadError: Permission denied - 
> > > > > > > > /usr/lib/ruby/gems/1.8/gems/watir-1.6.2/
> > > > > > > > lib/watir
> > > > > > > > /win32ole/win32ole.so
> > > > > > > >         from /usr/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> > > > > > > > win32ole/win32ole
> > > > > > > > .so
> > > > > > > >         from 
> > > > > > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> > > > > > > > 31:in `requi
> > > > > > > > re'
> > > > > > > >         from /usr/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/
> > > > > > > > win32ole.rb:5
> > > > > > > >         from 
> > > > > > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> > > > > > > > 31:in `gem_o
> > > > > > > > riginal_require'
> > > > > > > >         from 
> > > > > > > > /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> > > > > > > > 31:in `requi
> > > > > > > > re'
> > > > > > > >         from 
> > > > > > > > /usr/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:
> > > > > > > > 38
> > > > > > > >         from (irb):2
>
>
--~--~---------~--~----~------------~-------~--~----~
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