[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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:

[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

[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

[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

[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

[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

[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});

[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

[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

[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

[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