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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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 [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
-~----------~----~----~----~------~----~------~--~---