[wtr-general] Re: Extending Test::Unit::TestCase twice

2009-11-25 Thread Željko Filipin
On Tue, Nov 24, 2009 at 10:41 PM, chhsiung chhsi...@gmail.com wrote:
 When I'm running SpecificTestCase, it's actually executing the
 BaseTestCase's testcases twice.

Change `SpecificTestCase  BaseTestCase` to `Test::Unit::TestCase` and you
should be fine.

If you are just starting (meaning: you do not have a lot of tests so far), I
would suggest you use rspec (http://rspec.info/) instead of test/unit.

Željko
--
watir.com - community manager
watirpodcast.com - host

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-25 Thread 唐觊隽
gem update --system
gem install watir
Have no effect!!Because my network is so slow!! How to install it locally?

2009/11/25 b...@pettichord.com bpettich...@gmail.com


 This will be hard to build. We've updated our build instructions to
 match the current code in developement. Back then we were using SVN
 and I think you would need to pull from our old SVN repository on
 OpenQA to build this. The 1100 was the SVN revision number of the
 source it was built from.

 It's also possible that the Wayback machine could be used to recover
 old gems.

 Bret

 On Nov 24, 6:56 am, andoy andoysali...@gmail.com wrote:
  On Nov 24, 8:40 pm, Željko Filipin zeljko.fili...@wa-research.ch
  wrote:
 
   On Tue, Nov 24, 2009 at 1:27 PM, andoy andoysali...@gmail.com wrote:
Just making sure I can revert to this version. I'm in the process of
migrating to 1.6.5.
 
   You can always uninstall 1.6.5 and you will be reverted automatically
 to
   what you had before.
 
  I had 1.5.6 installed in one machine then upgraded to 1.6.5, reverting
  with gem uninstall watir didn't do the trick for me, i had to gem
  install -v 1.5.6 to get it working again, so i assumed it could
  happen when coming form 1.5.1.1100
 
 
 
Do you have a local copy you could send me?
 
   No. I think you could build it yourself. There are instructions
 somewhere on
   our wiki. If you need them, and can not find them, let me know.
 
  I guess i have no other choice but to build it myself :)
 
   Željko
 
  ~andoy
 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-25 Thread Željko Filipin
2009/11/25 唐觊隽 r7raul1...@gmail.com
 How to install it locally?

Get rubygems-update gem from:

http://rubyforge.org/frs/?group_id=126

Get watir gems (commonwatir, firewatir, watir) from:

http://rubyforge.org/frs/?group_id=104

Navigate in command prompt to place where gems are located:

gem install rubygems-update
gem instal watir

Not tested, but it should work.

Željko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-25 Thread 唐觊隽
Thanks!
But I can't understand Navigate in command prompt to place where gems are
located?Where ?
2009/11/25 Željko Filipin zeljko.fili...@wa-research.ch

 2009/11/25 唐觊隽 r7raul1...@gmail.com

  How to install it locally?

 Get rubygems-update gem from:

 http://rubyforge.org/frs/?group_id=126

 Get watir gems (commonwatir, firewatir, watir) from:

 http://rubyforge.org/frs/?group_id=104

 Navigate in command prompt to place where gems are located:

 gem install rubygems-update
 gem instal watir

 Not tested, but it should work.

 Željko


 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-25 Thread 唐觊隽
E:\ruby\rubygems-1.3.5\rubygems-1.3.5gem install rubygems-update
ERROR:  http://gems.rubyforge.org/ does not appear to be a repository
ERROR:  could not find gem rubygems-update locally or in a repository
- -!!
2009/11/25 唐觊隽 r7raul1...@gmail.com

 Thanks!
 But I can't understand Navigate in command prompt to place where gems are
 located?Where ?
 2009/11/25 Željko Filipin zeljko.fili...@wa-research.ch

 2009/11/25 唐觊隽 r7raul1...@gmail.com

  How to install it locally?

 Get rubygems-update gem from:

 http://rubyforge.org/frs/?group_id=126

 Get watir gems (commonwatir, firewatir, watir) from:

 http://rubyforge.org/frs/?group_id=104

 Navigate in command prompt to place where gems are located:

 gem install rubygems-update
 gem instal watir

 Not tested, but it should work.

 Željko


 



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-25 Thread Željko Filipin
On Wed, Nov 25, 2009 at 11:44 AM, 唐觊隽 r7raul1...@gmail.com wrote:
 But I can't understand Navigate in command prompt to place where gems are
located?Where ?

My mistake. Navigate to place where you have downloaded the gems. So if they
are in c:\ you would go there.

Željko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-25 Thread Željko Filipin
On Wed, Nov 25, 2009 at 12:07 PM, 唐觊隽 r7raul1...@gmail.com wrote:
 I download rubygems-1.3.5 and watir-1.6.5.gem to e:/ruby

Ruby folder is probably the only place where you will get that pop up. Try
moving the gems to desktop or anywhere else.

Željko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-25 Thread 唐觊隽
Thank you for you advice ! Still not ok!! This Drive me crazy!

2009/11/25 Željko Filipin zeljko.fili...@wa-research.ch

 On Wed, Nov 25, 2009 at 12:07 PM, 唐觊隽 r7raul1...@gmail.com wrote:
  I download rubygems-1.3.5 and watir-1.6.5.gem to e:/ruby

 Ruby folder is probably the only place where you will get that pop up. Try
 moving the gems to desktop or anywhere else.


 Željko

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: Where to download gem watir 1.5.1.1100 ?

2009-11-25 Thread Željko Filipin
On Wed, Nov 25, 2009 at 12:32 PM, 唐觊隽 r7raul1...@gmail.com wrote:
Still not ok!

You will have to provide more data. What exactly have you done and what
exactly happened.

Željko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread Željko Filipin
On Wed, Nov 25, 2009 at 1:02 PM, JMT jose.miguel.teje...@gmail.com wrote:
 require 'rubygems'
 require 'scrubyt'
 require 'hpricot'

This is Watir support group. I do not see how your question is related to
Watir.

Željko
--
watir.com - community manager
watirpodcast.com - host

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread José Miguel
Hi Željko

oks, I supposed that watir has more complete api of methods and the problem,
wich i mention, can be solved easly with watir...I might be wrong.

JMT

2009/11/25 Željko Filipin zeljko.fili...@wa-research.ch

 On Wed, Nov 25, 2009 at 1:02 PM, JMT jose.miguel.teje...@gmail.com
 wrote:
  require 'rubygems'
  require 'scrubyt'
  require 'hpricot'

 This is Watir support group. I do not see how your question is related to
 Watir.

 Željko
 --
 watir.com - community manager
 watirpodcast.com - host




 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] using firewatir on the mac

2009-11-25 Thread joshmoore

Hi, I am new to using watir.  I am trying to use firewatir on my mac but 
whenever I try to load it I get this exception:

irb(main):002:0 require 'firewatir'
NoMethodError: undefined method `demodulize' for FireWatir::Pre:String
from 
/opt/local/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/elements/non_control_element.rb:6:in
 `inherited'
from 
/opt/local/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/elements/non_control_elements.rb:2
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
`require'
from 
/opt/local/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir.rb:15
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`gem_original_require'
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in 
`require'
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
-~--~~~~--~~--~--~---



[wtr-general] Re: help required - Re-usable framework watir sql server/oracle database

2009-11-25 Thread venkat
thanks Tiffany for providing the url for ref. still i am trouble with the
following error in my script execution.

C:/build/ruby-oci8-2.0.3/ext/oci8/stmt.c:306:in oci8lib.so: ORA-00942: table
or view does not exist (OCIError)
 from
C:/Ruby/lib/ruby/gems/1.8/gems/ruby-oci8-2.0.3-x86-mswin32-60/lib/oci8/oci8.rb:287:in
`exec'
 from test3.rb:13
 from test3.rb:10:in `times'
 from test3.rb:10
my script is:

require 'oci8'
conn = OCI8.new('lup', 'es104', '//192.168.2.3:1521/ORCL')
i=10
cursor = conn.parse('insert into temp values (:id,:name)')
100.times {
  cursor.bind_param(':id',i)
  cursor.bind_param(':name',Name #{i})
  cursor.exec
  i +=1
}
cursor.close
conn.commit

cursor = conn.exec('SELECT id,name from TEMP');
while r = cursor.fetch
  puts  ID: #{r[0]} = #{r[1]}
 end
cursor.close
conn.logoff

MY script details:
Watir
Oci8
functionality: login to my application (login_id and login_password are
variables)
my oracle table contains users table with column names login_id,
login_password
i am trying insert the login, password field to temp table and binding as
strings to pass the variable to my login script.
I appreciate if anyone corrects the script to make it pass.
thanks,
venky
On Tue, Nov 24, 2009 at 8:44 PM, Tiffany Fodor tcfo...@comcast.net wrote:


 Hi Venky!

 If you were looking at my example Test::Unit harness:


 http://wiki.openqa.org/display/WTR/Test+Unit+Excel+Data+Driven+Framework+with+Database+Verifications

 DataVerification.rb connects to SQL and Oracle, retrieves value using
 select statements and verifies then against an expected value.  You
 could also use this to retrieve test data once it's populated in your
 database.

 If this doesn't do what you need it to, you may want to look into
 using the ActiveRecord class.  Note that ActiveRecord is it's own Ruby
 project, not part or Watir.  I'm moving that way myself, as
 ActiveRecord seems more solid than the DBI class.

 Hope this helps!

 -Tiffany

 On Nov 24, 2:44 am, venkat greet.ven...@gmail.com wrote:
  Hi,
 
  I am venkat, started using watir for the last 3 to 4 weeks. I understand
  basic watir scripting since opening of the browser to navigating pages by
  identifying the elements etc. and I feel WATiR is an excellent tool. Also
 I
  have gone through the datadriven framework with excel data examples.
 
  I have searched in google for examples, blogs, code snippets for a
 framework
  that built using watir with sql server or watir with oracle but failed to
  get it. I can see the test code to establish connections from watir to
 sql
  dbi or oracle but further details are not much.
 
  At this point I request you to please help me out in finding a good
  framework that uses watir with sql or oracle database that can be
 re-usable
  with modifications kind of.
 
  I appreciate if any one helps.
 
  Thanks and hope to see your mail.
 
  Regards,
  Venky
  


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread Željko Filipin
2009/11/25 José Miguel jose.miguel.teje...@gmail.com
 oks, I supposed that watir has more complete api of methods and the
problem, wich i mention, can be solved easly with watir

I completely missed that, my mistake. :)

Just to make it clear, you are asking how to click a button with Watir? Can
you provide relevant HTML?

Željko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: No firefox execution

2009-11-25 Thread José Miguel
what I want to click it is the below html element. I know how to do it with
scrubyt (click_by_xpath) but a browser is opened when I execute. I do not
know if watir lets me do it without opening a browser

input type=image name=ctl00$ContentPlaceHolder1$LeftPanelSearch1$btnSearch
id=ctl00_ContentPlaceHolder1_LeftPanelSearch1_btnSearch
src=../Images/es-ES/search_button.gif onclick=return
CheckValues(); style=border-width:0px; /




El 25 de noviembre de 2009 13:24, José Miguel jose.miguel.teje...@gmail.com
 escribió:

 yes, it was my mistake because the question is not very clear..I am going
 to rephrase the question in order a better understanding of my problem.
 thank you very much.

 2009/11/25 Željko Filipin zeljko.fili...@wa-research.ch

 2009/11/25 José Miguel jose.miguel.teje...@gmail.com

  oks, I supposed that watir has more complete api of methods and the
 problem, wich i mention, can be solved easly with watir

 I completely missed that, my mistake. :)

 Just to make it clear, you are asking how to click a button with Watir?
 Can you provide relevant HTML?

 Željko


 



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] using selenium AND watir

2009-11-25 Thread chhsiung

Hi

Has anyone ever tried to use both the selenium and watir libraries
under the same framework?  I've used selenium at a previous job and am
trying out watir now.  There are certain things I liked about selenium
that I haven't figured out how to do in watir yet - easier to write
shared scripts for IE and firefox, xpath support.  Is there any
benefit to using both (using selenium in ruby)?


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: execute js in IE8

2009-11-25 Thread Ethan
Do you get the same thing if you try
browser.document.parentWindow.eval(whatever) ?

On Wed, Nov 25, 2009 at 13:26, aidy lewis aidy.le...@googlemail.com wrote:


 Hi,

 I am trying to execute some js in IE8:


 browser.ie.document.parentWindow.execScript(window.confirm=function(){return
 true});

 However, I am getting an 'Access denied'  error when I have scripting
 allowed in my IE settings and I am on the same domain as the
 application server.

 Aidy

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: execute js in IE8

2009-11-25 Thread aidy lewis

Ethan,

Same thing, but good suggestion.

I am not even sure of the differences between eval and execScript.

Cheers

Aidy

2009/11/25 Ethan notet...@gmail.com:
 Do you get the same thing if you try
 browser.document.parentWindow.eval(whatever) ?

 On Wed, Nov 25, 2009 at 13:26, aidy lewis aidy.le...@googlemail.com wrote:

 Hi,

 I am trying to execute some js in IE8:


 browser.ie.document.parentWindow.execScript(window.confirm=function(){return
 true});

 However, I am getting an 'Access denied'  error when I have scripting
 allowed in my IE settings and I am on the same domain as the
 application server.

 Aidy




 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: install for 1.6.2 doesn't work after 1.6.5 release

2009-11-25 Thread b...@pettichord.com

I've opened up a ticket for this problem: http://jira.openqa.org/browse/WTR-409

If this issue is of interest to you, please watch and/or vote and/or
comment on the ticket. I worked on this today and ran into some
complications. Please see the ticket for more information.

(I'm generally trying to move discussions about bugs to Jira.)

On Nov 13, 10:46 am, Charley Baker charley.ba...@gmail.com wrote:
 Sounds reasonable to me, I don't see any downside of doing a simple 1.6.3
 quiet release, and you're right, people already do want to bounce back and
 forth if they see issues in 1.6.5.

 -Charley

 On Fri, Nov 13, 2009 at 9:13 AM, Bret Pettichord b...@pettichord.comwrote:



  Alan,

  You are seeing a problem that we also saw with Watir 1.6.5RC1. We fixed
  it in the first 1.6.5 by changing the way watir does dependencies.

  Here are the dependencies for Watir 1.6.2

  C:\work\common_groundgem dependency watir
  Gem watir-1.6.2
   win32-process (= 0.5.5, runtime)
   windows-pr (= 0.6.6, runtime)
   activesupport (= 0, runtime)
   commonwatir (= 1.6.2, runtime)
   firewatir (= 0, runtime)

  The problem is that Watir 1.6.2 will use FireWatir 1.6.5, which runs
  into a conflict with the common watir gem.

  My thought at the moment is that we should release a Watir 1.6.3 that is
  the same as 1.6.2, but with the dependencies declared correctly. Because
  I know people are going to want to go back and forth between 1.6.5 and
  1.6.2.

  Thoughts?

  Bret

  Alan Baird wrote:
   Should have said...

   ..it seems that there is an unnecessary gem dependency in the firewatir
  1.6.2 install for commonwatir 1.6.5 (or maybe it's just for the latest
  version).

   -Original Message-
   From: watir-general@googlegroups.com [mailto:
  watir-gene...@googlegroups.com] On Behalf Of Alan Baird
   Sent: Thursday, November 12, 2009 11:59 AM
   To: watir-general@googlegroups.com
   Subject: [wtr-general] install for 1.6.2 doesn't work after 1.6.5 release

   This morning I was helping a coworker get some things up and running with
  watir and noticed that he had inadvertently got 1.6.5.  Since 1.6.5 changes
  the way .visible? works, we decided to go back to 1.6.2 and make sure
  everything was ok there.  We removed watir, commonwatir and firewatir and
  verified that everything was uninstalled.  After that, we did the following:

   C:\ gem install watir -v 1.6.2
   ERROR:  Error installing watir:
           firewatir requires commonwatir (= 1.6.5, runtime)

   C:\ gem list --local

   *** LOCAL GEMS ***
   (removed unnecessary gems)
   ...
   commonwatir (1.6.2)
   ...

   C:\ gem install firewatir -v 1.6.2
   Successfully installed firewatir-1.6.2
   1 gem installed
   Installing ri documentation for firewatir-1.6.2...
   Installing RDoc documentation for firewatir-1.6.2...

   C:\ gem install watir -v 1.6.2
   Successfully installed watir-1.6.2
   1 gem installed
   Installing ri documentation for watir-1.6.2...
   Installing RDoc documentation for watir-1.6.2...

   So, to me it seems that there is a gem dependency in the firewatir
  install for commonwatir 1.6.5 (or maybe it's just the latest version).

   What do you think?

   Alan

   This email message and any attachments are for the sole use of the
  intended recipients and may contain proprietary and/or confidential
  information which may be privileged or otherwise protected from disclosure.
  Any unauthorized review, use, disclosure or distribution is prohibited. If
  you are not an intended recipient, please contact the sender by reply email
  and destroy the original message and any copies of the message as well as
  any attachments to the original message.

   This email message and any attachments are for the sole use of the
  intended recipients and may contain proprietary and/or confidential
  information which may be privileged or otherwise protected from disclosure.
  Any unauthorized review, use, disclosure or distribution is prohibited. If
  you are not an intended recipient, please contact the sender by reply email
  and destroy the original message and any copies of the message as well as
  any attachments to the original message.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: using firewatir on the mac

2009-11-25 Thread joshmoore
Ethan, that fixed it thanks!

Josh


On Nov 25, 2009, at 11:29 PM, Ethan wrote:

 String#demodulize is an activesupport method. try running `gem update 
 activesupport` (or `gem install activesupport` if you don't have it installed 
 at all)
 
 
 On Wed, Nov 25, 2009 at 07:44, Željko Filipin zeljko.fili...@wa-research.ch 
 wrote:
 On Wed, Nov 25, 2009 at 1:39 PM, joshmoore joshsmo...@gmail.com wrote:
  ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10]
  I am using Mac OS X 10.6.2
 
 My guess is that it is a problem with Ruby 1.8.7. It could be a problem with 
 Mac OS 10.6 too. Do you have another Mac machine with Ruby 1.8.6 to try it 
 there?
 
 
 Željko
 
 
 
 
  


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[wtr-general] Re: using firewatir on the mac

2009-11-25 Thread joshmoore
I installed rails 2.3.4 (sudo gem install rails -v=2.3.4).  My problem was that 
I was playing around with rails 3 pre gems and they do not seem to have the 
String#demodulize method.

Josh

On Nov 26, 2009, at 8:38 AM, Charley Baker wrote:

 Just out of curiosity, how did you install and which version are you running? 
 
 -c
 
 On Wed, Nov 25, 2009 at 5:04 PM, joshmoore joshsmo...@gmail.com wrote:
 Ethan, that fixed it thanks!
 
 Josh
 
 
 On Nov 25, 2009, at 11:29 PM, Ethan wrote:
 
 String#demodulize is an activesupport method. try running `gem update 
 activesupport` (or `gem install activesupport` if you don't have it 
 installed at all)
 
 
 On Wed, Nov 25, 2009 at 07:44, Željko Filipin 
 zeljko.fili...@wa-research.ch wrote:
 On Wed, Nov 25, 2009 at 1:39 PM, joshmoore joshsmo...@gmail.com wrote:
  ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10]
  I am using Mac OS X 10.6.2
 
 My guess is that it is a problem with Ruby 1.8.7. It could be a problem with 
 Mac OS 10.6 too. Do you have another Mac machine with Ruby 1.8.6 to try it 
 there?
 
 
 Željko
 
 
 
 
 
 
 
 
 
 
  


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---