[
http://jira.openqa.org/browse/WTR-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19841#action_19841
]
fourchette commented on WTR-282:
--------------------------------
simple : i am coerced into using windows. but i do like the wealth of the gnu
environment, for starters using bash instead of cmd is a real productivity gain.
besides the whole cygwin install/update model is just great.
So well it is just convenient to install and use ruby from the cygwin install
instead of the ruby one click installer.
that was for the first point.
second point is i am evaluating watir and trying to figure out if it is really
a benefit compared to selenium for instance (so far i am not convinced but
willing to really investigate the issue). so i need to see the same testing
script working on both ie and firefox. following andy comments on
http://jira.openqa.org/browse/WTR-453 i have been able to get watir to work
with IE too.
that was the second point
last but not last, i faced plain not-working-firewatir going through the route
of the watir installation guide http://watir.com/installation/#win
so i opened up a discution on stackoverflow there:
http://stackoverflow.com/questions/3602466/firefox-and-watir-wouldnt-work-on-windows-due-to-a-singularize-method-not-found/
that was the last point.
i think having watir actually support cygwin seems really easy honnestly (about
3 lines to update, only 10 caracters for firewatir), so it is worth doing i'd
say.
> Watir doesn't work on Cygwin [patch]
> ------------------------------------
>
> Key: WTR-282
> URL: http://jira.openqa.org/browse/WTR-282
> Project: Watir
> Issue Type: Bug
> Components: Modal Web Dialog
> Affects Versions: 1.6.2
> Environment: WinXP / Cygwin
> Reporter: andyl
> Priority: Blocker
> Fix For: Soon
>
>
> On Cygwin, I ran into two separate problems that prevented Watir 1.6.2 from
> working.
> First, the 'win32ole.so' file that ships with Watir appears to be
> incompatible with the version that is installed with my copy of Cygwin-
> ruby. (see http://pastie.org/374756)
> An error message 'bad file permissions' was generated when trying to run 'x
> = Watir::IE.new' from within IRB.
> My workaround was to copy the 'ruby' version of win32ole.so into the 'watir'
> directories. (see http://pastie.org/374865)
> Once this was done, another error occured - relating to modal dialogs. (see
> http://pastie.org/374865)
> This was fixed by commenting out 2 lines in the Watir source code:
> File - modal_dialog.rb Line - 65 GetUnknown.call ...
> File - win32.rb Line - 6 GetUnknown = Win32API.new(...
> Once these lines were commented out, watir worked.
> Ideas for fixes:
> - Fix the modal dialog issue with conditional execution:
> GetUnknown.call (...) unless RUBY_PLATFORM == 'i386-cygwin'
> GetUnknown=Win32APUI.new(... unless RUBY_PLATFORM =='i386-cygwin'
>
> - Fix the win32ole issue by not bundling this file in the gem (Brett thinks
> maybe it is not needed??)
> - Cygwin support: run regression tests on cygwin!!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development