I agree with #2. Watir::IE.new should be fine.

I'm also 99% sure you don't even need the win32ole.so file (it is only 
needed for showModalDialog support). There is a line in the watir code 
that loads this file (instead of the standard win32ole.so file that 
comes with ruby).

So I suggest modifying watir so that it doesnot even try to load this 
file. I need to run, but maybe someone else can help you with this.

Bret

Arco wrote:
> Couple of other things:
>
> 1) I looked at your question about the 'group' setting for
> win32ole.so.  I changed it's group to 'Users', re-ran the IRB session
> and got the same error.
>
> 2) I had a look at Brett's blog posting - looks like the 'x =
> Watir::IE.new' format is still supported.  If I can get this working
> I'd be comfortable using that style rather than the new
> 'Watir::Browser.new' style.
>
>
> 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