[wtr-general] Re: Trying to go back to watir 1.6.2, won't install correctly
Hi Lisa, I have been going through the pain of upgrading to Ruby 1.9.3 and Watir 3.0, but haven't really kept a log of all the changes. I have been going back and forward between various versions of Ruby/ Watir and I think when I saw this problem before I set RUBYOPT=rubygems in the system environment variables. Might be worth trying. Trevor On Feb 17, 3:29 am, Lisa Crispin lisa.cris...@gmail.com wrote: I know, I had uninstalled Ruby 1.8.7 because the require 'watir' kept failing, and installed Ruby 1.8.6, but now the install of watir won't work. When I typed gem install watir in Ruby 1.8.7, I got Watir 2. I don't want Watir 2, I want 1.6.2. Will that just happen by magic? I know I can just try it, but I'm getting really tired of uninstalling and installing things. thanks, Lisa On Thu, Feb 16, 2012 at 6:28 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Thu, Feb 16, 2012 at 7:10 PM, Lisa Crispin lisa.cris...@gmail.com wrote: I get *** LOCAL GEMS *** If it does not list watir gem there, then you do not have it installed. Try running this again: gem install watir Željko -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009)http://lisacrispin.com @lisacrispin on Twitterhttp://entaggle.com/lisacrispin -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: download a file to a specific directory in IE 9
I'm not sure what is happening for you there, but you could try by using simpler path - something like this: c:\\blah.csv Also, using a different adapter could help, yes. Try AutoIt adapter: save_as = RAutomation::Window.new(:title = Save As, :adapter = autoit) Jarmo On Feb 17, 1:56 am, hillary weimar1...@gmail.com wrote: should i be using a different adaptor than the rautomation default. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: We are moving away from JIRA: please raise all future issues/bugs at Github
And we have 0 issues :) Jarmo On Feb 15, 3:40 am, Alister Scott alister.sc...@gmail.com wrote: Here's the link:https://github.com/watir/watir/issues Cheers, Alister Alister Scott Brisbane, Australia Watir Web Master:http://watir.com Blog:http://watirmelon.com LinkedIn:http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: download a file to a specific directory in IE 9
it didn't seem to be able to set it, so i think i'm doing something wrong when trying to use the new adaptor. w = RAutomation::Window.new(:title = Save As, :adaptor = autoit) = #RAutomation::Window:0x286e3a8 @adapter=:win_ffi, @window=#RAutomation::Adapter::WinFfi::Window:0x270cee8 @locators={:title=Save As, :adaptor=autoit} w.text_field(:class = Edit).set(test) NoMethodError: undefined method `window_adaptor' for RAutomation::Adapter::WinFfi::Functions:Module from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:279:in `block in element_properties' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:278:in `each' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:278:in `inject' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:278:in `element_properties' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:270:in `window_properties' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:113:in `block in window_hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:300:in `block in find_hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:313:in `call' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:313:in `enum_windows' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:313:in `find_hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:112:in `window_hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/window.rb:47:in `hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/window.rb:80:in `exists?' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:130:in `exists?' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:147:in `present?' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:218:in `block in wait_until_present' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/wait_helper.rb:15:in `wait_until' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:218:in `wait_until_present' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:206:in `text_field' -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: download a file to a specific directory in IE 9
I think i'm doing something wrong, because it didn't even set the field. When i ran it through irb i got this error. w = RAutomation::Window.new(:title = Save As, :adaptor = autoit) = #RAutomation::Window:0x286e3a8 @adapter=:win_ffi, @window=#RAutomation::Adapter::WinFfi::Window:0x270cee8 @locators={:title=Save As, :adaptor=autoit} w.text_field(:class = Edit).set(test) NoMethodError: undefined method `window_adaptor' for RAutomation::Adapter::WinFfi::Functions:Module from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:279:in `block in element_properties' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:278:in `each' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:278:in `inject' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:278:in `element_properties' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:270:in `window_properties' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:113:in `block in window_hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:300:in `block in find_hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:313:in `call' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:313:in `enum_windows' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:313:in `find_hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/functions.rb:112:in `window_hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/window.rb:47:in `hwnd' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/adapter/win_ffi/window.rb:80:in `exists?' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:130:in `exists?' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:147:in `present?' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:218:in `block in wait_until_present' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/wait_helper.rb:15:in `wait_until' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:218:in `wait_until_present' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/rautomation-0.6.3/lib/rautomation/window.rb:206:in `text_field' -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Trying to go back to watir 1.6.2, won't install correctly
I first tried gem install watir -v 1.6.2 and that didn't work either. I've been trying everything I can find searching in the archives etc. My goal is to get my scripts running on my new PC. I don't really care what versions of anything I have, but it seems intuitive that if I put the same versions on my new PC that I have on the old PC where all my scripts work, it would work. But I can't get those versions installed. I'm open to other advice on how to proceed. I wonder if installing the newest Ruby and Watir messed things up, even though I uninstalled them, maybe the uninstall didn't clean up all the registry entries or something. I'll look for you on gtalk or skype, Z. Thanks! -- Lisa On Thu, Feb 16, 2012 at 9:12 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Thu, Feb 16, 2012 at 9:29 PM, Lisa Crispin lisa.cris...@gmail.com wrote: I know, I had uninstalled Ruby 1.8.7 because the require 'watir' kept failing, and installed Ruby 1.8.6, but now the install of watir won't work. Is there a reason not to install ruby 1.9.3? Ruby 1.8.6 probably has rubygems version so old that it can not be updated with gem update --system If you really like 1.8.6 take a look how I updated it on Mac, it should be similar on Windows (RubyGems on 10.5 chapter): https://github.com/zeljkofilipin/watirbook/blob/master/installation/mac.md When I typed gem install watir in Ruby 1.8.7, I got Watir 2. I don't want Watir 2, I want 1.6.2. For instructions on how to install an older version of watir: - go to https://rubygems.org/gems/watir - click link Show all versions (43 total) (at the bottom of the page) - click the version you like (1.6.2) - page with instructions how to install that version will appear In short: gem install watir -v 1.6.2 Feel free to ping me on skype/gtalk/irc, it would probably be faster to debug the problem that way. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009) http://lisacrispin.com @lisacrispin on Twitter http://entaggle.com/lisacrispin -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Trying to go back to watir 1.6.2, won't install correctly
The other than might bite you is if you are using something like the RUBYLIB environment variable to assist ruby with finding helper methods you may have located in a specific directory. That can also cause the same error when you are trying to require the file that holds those methods. Sorry to hear that you had some many issues trying to upgrade your scripts. If you can give us any kind of post-mortem dump of the hard parts of the experience, it might help to figure out how to better document the process, or make things easier in the future. We really need to improve the user experience there. I've been doing similar upgrades, but to scripts a bit newer than yours, and perhaps that has made a big difference for me. On Feb 17, 9:31 am, Lisa Crispin lisa.cris...@gmail.com wrote: Thanks, Trevor, I do have that RUBYOPT variable set. -- Lisa On Fri, Feb 17, 2012 at 4:10 AM, Trevor trevorm1...@gmail.com wrote: Hi Lisa, I have been going through the pain of upgrading to Ruby 1.9.3 and Watir 3.0, but haven't really kept a log of all the changes. I have been going back and forward between various versions of Ruby/ Watir and I think when I saw this problem before I set RUBYOPT=rubygems in the system environment variables. Might be worth trying. Trevor On Feb 17, 3:29 am, Lisa Crispin lisa.cris...@gmail.com wrote: I know, I had uninstalled Ruby 1.8.7 because the require 'watir' kept failing, and installed Ruby 1.8.6, but now the install of watir won't work. When I typed gem install watir in Ruby 1.8.7, I got Watir 2. I don't want Watir 2, I want 1.6.2. Will that just happen by magic? I know I can just try it, but I'm getting really tired of uninstalling and installing things. thanks, Lisa On Thu, Feb 16, 2012 at 6:28 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Thu, Feb 16, 2012 at 7:10 PM, Lisa Crispin lisa.cris...@gmail.com wrote: I get *** LOCAL GEMS *** If it does not list watir gem there, then you do not have it installed. Try running this again: gem install watir Željko -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009)http://lisacrispin.com @lisacrispin on Twitterhttp://entaggle.com/lisacrispin -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.comhttp://groups.google.com/group/watir-general%0Awatir-general+unsubscr... -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009)http://lisacrispin.com @lisacrispin on Twitterhttp://entaggle.com/lisacrispin -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Upgrading anxiety
I posted steps I was using earlier in this thread. (if you don't still have the mail, just view the thread using the google-groups website). I have not yet had time to extract them and post them someplace else such as the wiki or my far too neglected testing blog On Feb 16, 1:48 pm, Lisa Crispin lisa.cris...@gmail.com wrote: Did anyone create a new comparison page? I had gotten some of my scripts working in Watir 2, but then had to do other work for a few weeks. Meanwhile, I had a problem with IntelliJ and SVN, and had to re-check out all my scripts. I saved my old scripts and copied them back in, but I must have missed something, because they aren't working at all now, and I need to start all over. It seems like someone had some steps to convert the older scripts to work in Watir 2.0 but now I can't find it. thanks Lisa On Mon, Jan 2, 2012 at 4:19 AM, Jarmo Pertman jarm...@gmail.com wrote: On Dec 31 2011, 1:09 pm, Jari Bakken jari.bak...@gmail.com wrote: It's still useful for people using 1.X. Perhaps create a new comparison page for 2.X? Yes, that's what i was thinking. Jarmo -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.comhttp://groups.google.com/group/watir-general%0Awatir-general+unsubscr... -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009)http://lisacrispin.com @lisacrispin on Twitterhttp://entaggle.com/lisacrispin -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Trying to go back to watir 1.6.2, won't install correctly
I don't have a solution to fix the current install but what I have done in the past when I just can't figure out what is going on (like yesterday I could not get watir 1.6.2 to work on a machine) I copied a good Ruby folder from my working machine to the machine that I was fighting with and I am back up and running. On Feb 17, 1:34 pm, Chuck van der Linden sqa...@gmail.com wrote: The other than might bite you is if you are using something like the RUBYLIB environment variable to assist ruby with finding helper methods you may have located in a specific directory. That can also cause the same error when you are trying to require the file that holds those methods. Sorry to hear that you had some many issues trying to upgrade your scripts. If you can give us any kind of post-mortem dump of the hard parts of the experience, it might help to figure out how to better document the process, or make things easier in the future. We really need to improve the user experience there. I've been doing similar upgrades, but to scripts a bit newer than yours, and perhaps that has made a big difference for me. On Feb 17, 9:31 am, Lisa Crispin lisa.cris...@gmail.com wrote: Thanks, Trevor, I do have that RUBYOPT variable set. -- Lisa On Fri, Feb 17, 2012 at 4:10 AM, Trevor trevorm1...@gmail.com wrote: Hi Lisa, I have been going through the pain of upgrading to Ruby 1.9.3 and Watir 3.0, but haven't really kept a log of all the changes. I have been going back and forward between various versions of Ruby/ Watir and I think when I saw this problem before I set RUBYOPT=rubygems in the system environment variables. Might be worth trying. Trevor On Feb 17, 3:29 am, Lisa Crispin lisa.cris...@gmail.com wrote: I know, I had uninstalled Ruby 1.8.7 because the require 'watir' kept failing, and installed Ruby 1.8.6, but now the install of watir won't work. When I typed gem install watir in Ruby 1.8.7, I got Watir 2. I don't want Watir 2, I want 1.6.2. Will that just happen by magic? I know I can just try it, but I'm getting really tired of uninstalling and installing things. thanks, Lisa On Thu, Feb 16, 2012 at 6:28 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Thu, Feb 16, 2012 at 7:10 PM, Lisa Crispin lisa.cris...@gmail.com wrote: I get *** LOCAL GEMS *** If it does not list watir gem there, then you do not have it installed. Try running this again: gem install watir Željko -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009)http://lisacrispin.com @lisacrispin on Twitterhttp://entaggle.com/lisacrispin -- Before posting, please readhttp://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.comhttp://groups.google.com/group/watir-general%0Awatir-general+unsubscr... -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009)http://lisacrispin.com @lisacrispin on Twitterhttp://entaggle.com/lisacrispin- Hide quoted text - - Show quoted text - -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Upgrading anxiety
On Fri, Feb 17, 2012 at 1:04 PM, Lisa Crispin lisa.cris...@gmail.com wrote: C:\gem install watir -v 1.6.2 ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: watir requires commonwatir (= 1.6.2); firewa tir requires commonwatir (= 1.9.2) Hi Lisa, try this: gem install commonwatir -v 1.6.2 gem install commonwatir -v 1.9.2 gem install watir -v 1.6.2 I tried it on my machine (mac) but it choked when trying to compile some windows specific code I guess. :) (I do not have a windows machine handy at the moment.) Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] How to install Watir 1.6.2 with Ruby 1.9.3? Or with any Ruby, such that my scripts will work?
At Zeljko's suggestion, I installed the latest Ruby, then tried to install Watir 1.6.2. I got this error: gem install watir -v 1.6.2 ERROR: While executing gem ... (Gem::Dependenc yError) Unable to resolve dependencies: watir requires commonwatir (= 1.6.2); firewa tir requires commonwatir (= 1.9.2) Z suggested to install both versions of commonwatir, which I did. When I ran a Watir script, I got this error: C:/Ruby193/lib/ ruby/site_ruby/1.9.1/rubygems/specification.rb:1626:in `raise_if_ conflicts': Unable to activate watir-1.6.2, because commonwatir-1.9.2 conflicts with commonwatir (= 1.6.2) (Gem::LoadError) from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:741:i n `activate' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:209:in `rescue in t ry_activate' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:206:in `try_activat e' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:i n `rescue in require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:i n `require' I uninstalled commonwatir at Z's suggestion, then when I ran the watir script I got this: but when I run script, it still says, C:/Ruby193/lib/ ruby/site_ruby/1.9.1/rubygems/specification.rb:1626:in `raise_if_ conflicts': Unable to activate firewatir-1.9.4, because commonwatir-1.6.2 confli cts with commonwatir (= 1.9.2) (Gem::LoadError) Z suggested I uninstall firewatir, I did that. Then when I ran the script I get this error: C:/Ruby193/lib/ ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Co uld not find firewatir (= 0) amongst [activesupport-3.2.1, bigdecimal-1.1.0, bu ilder-3.0.0, commonwatir-1.6.2, hoe-2.13.1, i18n-0.6.0, io-console-0.3, json-1.5 .4, minitest-2.5.1, multi_json-1.0.4, rake-0.9.2.2, rdoc-3.9.4, s4t-utils-1.0.4, user-choices-1.1.6.1, watir-1.6.2, win32-api-1.4.8-x86-mingw32, win32-process-0 .6.5, windows-api-0.4.1, windows-pr-1.2.1, xml-simple-1.1.1] (Gem::LoadError) I don't WANT firewatir. Why do I have to have it? The basic question is - how may I get Watir 1.6.2 working on my Windows 7 PC? I don't care what version of either Ruby or Watir that I have, I just need for my many Watir scripts to work here. They work fine on my old Vista 64 PC that has Ruby 1.8.6 and Watir 1.6.2. I have tried to install both Ruby 1.8.7/Watir 1.6.2 - scripts didn't work - and tried to install Ruby 1.8.6, but when I did that, the install of watir wouldn't work. I'm losing the will to live. Please help! -- Lisa -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009) http://lisacrispin.com @lisacrispin on Twitter http://entaggle.com/lisacrispin -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Ignore this Re: How to install Watir 1.6.2 with Ruby 1.9.3? Or with any Ruby, such that my scripts will work?
I finally got around that error, but got a new one. Now I am going to try just copying my ruby folder from my old machine, apparently I missed that suggestion in a prior email. Sigh. -- Lisa On Fri, Feb 17, 2012 at 1:03 PM, Lisa Crispin lisa.cris...@gmail.comwrote: At Zeljko's suggestion, I installed the latest Ruby, then tried to install Watir 1.6.2. I got this error: gem install watir -v 1.6.2 ERROR: While executing gem ... (Gem::Dependenc yError) Unable to resolve dependencies: watir requires commonwatir (= 1.6.2); firewa tir requires commonwatir (= 1.9.2) Z suggested to install both versions of commonwatir, which I did. When I ran a Watir script, I got this error: C:/Ruby193/lib/ ruby/site_ruby/1.9.1/rubygems/specification.rb:1626:in `raise_if_ conflicts': Unable to activate watir-1.6.2, because commonwatir-1.9.2 conflicts with commonwatir (= 1.6.2) (Gem::LoadError) from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:741:i n `activate' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:209:in `rescue in t ry_activate' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:206:in `try_activat e' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58:i n `rescue in require' from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:i n `require' I uninstalled commonwatir at Z's suggestion, then when I ran the watir script I got this: but when I run script, it still says, C:/Ruby193/lib/ ruby/site_ruby/1.9.1/rubygems/specification.rb:1626:in `raise_if_ conflicts': Unable to activate firewatir-1.9.4, because commonwatir-1.6.2 confli cts with commonwatir (= 1.9.2) (Gem::LoadError) Z suggested I uninstall firewatir, I did that. Then when I ran the script I get this error: C:/Ruby193/lib/ ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Co uld not find firewatir (= 0) amongst [activesupport-3.2.1, bigdecimal-1.1.0, bu ilder-3.0.0, commonwatir-1.6.2, hoe-2.13.1, i18n-0.6.0, io-console-0.3, json-1.5 .4, minitest-2.5.1, multi_json-1.0.4, rake-0.9.2.2, rdoc-3.9.4, s4t-utils-1.0.4, user-choices-1.1.6.1, watir-1.6.2, win32-api-1.4.8-x86-mingw32, win32-process-0 .6.5, windows-api-0.4.1, windows-pr-1.2.1, xml-simple-1.1.1] (Gem::LoadError) I don't WANT firewatir. Why do I have to have it? The basic question is - how may I get Watir 1.6.2 working on my Windows 7 PC? I don't care what version of either Ruby or Watir that I have, I just need for my many Watir scripts to work here. They work fine on my old Vista 64 PC that has Ruby 1.8.6 and Watir 1.6.2. I have tried to install both Ruby 1.8.7/Watir 1.6.2 - scripts didn't work - and tried to install Ruby 1.8.6, but when I did that, the install of watir wouldn't work. I'm losing the will to live. Please help! -- Lisa -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009) http://lisacrispin.com @lisacrispin on Twitter http://entaggle.com/lisacrispin -- Lisa Crispin Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers and Agile Teams_ (Addison-Wesley 2009) Contributor to _Beautiful Testing_ (O'Reilly 2009) http://lisacrispin.com @lisacrispin on Twitter http://entaggle.com/lisacrispin -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] How to install Watir 1.6.2 with Ruby 1.9.3? Or with any Ruby, such that my scripts will work?
On Fri, Feb 17, 2012 at 2:03 PM, Lisa Crispin lisa.cris...@gmail.com wrote: They work fine on my old Vista 64 PC that has Ruby 1.8.6 and Watir 1.6.2. Try copying ruby folder from the machine where everything is set up to the new machine. Probably the only thing you should fix on the new machine is to add c:\ruby\bin or something like that to path. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Trying to go back to watir 1.6.2, won't install correctly
On Fri, Feb 17, 2012 at 2:47 PM, Lisa Crispin lisa.cris...@gmail.com wrote: On my old PC, I see they are associated with the Ruby interpreter, I can't find where that lives. I do not have windows machine here, but I think it is in c:\ruby\bin\ruby.exe or something like that. If nobody answers here, you should probably ask here, I think they will know how to do it: https://groups.google.com/forum/?fromgroups#!forum/rubyinstaller Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com