Re: [wtr-general] Installation problem
Thanks for help, Its working fine now. From: Željko Filipin zeljko.fili...@wa-research.ch To: watir-general@googlegroups.com Sent: Friday, 18 November 2011 3:59 PM Subject: Re: [wtr-general] Installation problem On Fri, Nov 18, 2011 at 11:25 AM, Chethan chethan2...@gmail.com wrote: LoadError: no such file to load -- ffi_c Google for the error message, and the first result is: http://stackoverflow.com/questions/7964778/no-such-file-to-load-ffi-c-loaderror Željko -- watir.com/book - author watir.com - community manager watirpodcast.com - host -- 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 -- 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: Unable to call ruby script multiple times!!
Hi Chuck, Thanks for your eye opening mail, I will change my scripting way. Once again Thanks for your valuable input about ruby scripting. ~Chethan --- On Wed, 17/11/10, Chuck van der Linden sqa...@gmail.com wrote: From: Chuck van der Linden sqa...@gmail.com Subject: [wtr-general] Re: Unable to call ruby script multiple times!! To: Watir General watir-general@googlegroups.com Date: Wednesday, 17 November, 2010, 10:39 AM I think you are basically abusing a bit of a fluke in the way that 'require' works with an interpreted language like ruby. By design it's only going to 'execute' the 'require' step once, even if the flow of the script causes it to be encoutered many times. That's because what 'require' is doing is pulling in the code in the specified file, parsing it to define methods and such that it expects you to call from your main script. Because you have code not inside a method, it ends up getting executed. But Require is not intended as a way to execute code, but a way to bring in methods (aka functions, code libraries etc) that you are going to call from your script. So seriously, STOP using require that way or I'm going to get out the giant psycic 'STOP THAT!' cannon and point it in your direction. that's NOT how it's done, even if you think it's working for you, STOP IT!.. If you want to do things this way you are going to have to define almost the entire contents of those other files as a method by putting a 'def methodname (parameters)' statement very near the top, and an END down at the bottom. Then you can call that method. READ THIS: http://ruby-doc.org/docs/ProgrammingRuby/html/tut_methods.html My example presumed that you were defining the other scripts as methods. it then CALLED those methods inside a loop to execute them multiple times If you have code you need to use in multiple places, or to call over and over, this is generally how it's done.. define the code as a method, require the file that has that method in it. call the method when/where needed. Many times methods are associated with objects, and are designed so the object can do appropriate things (a bit like telling the dishwasher to start the wash cycle, or asking a dish 'are you dirty?') but I'm getting into the idea of object oriented programming and that's a bit beyond the scope here. For the moment all that's important is to understand that making those other scripts into methods, and then calling the methods is the way to go here. You can also try Load as Zeljko suggests That might look something like: 10.times do load 'Ft_001' end Either way, It seems you need to learn a bit more about the Ruby language. I'd recommend reading the ebook that ruby installs as part of it's help, or getting a copy of a good tutorial such as 'Everyday scripting with Ruby' I find the 'veryday scripting' book to be ideal for testers, many of the examples are useful on your regular work. On Nov 14, 6:29 am, chethan sarathy chethan2...@yahoo.co.in wrote: Hi Thanks for Helping me on this, Sorry I couldn't give you full picture, I have made my test case in one script .rb file i will Call using require command Some thing like this require ' TestCase_001' require 'TestCase_002' These will be ran through one .rb file This will run perfectly but I got only one problem I am not able to run these test cases multiple times. I tried your idea of (10.times do) still unlucky :( Thanks again, Chethan --- On Fri, 12/11/10, Chuck van der Linden sqa...@gmail.com wrote: From: Chuck van der Linden sqa...@gmail.com Subject: [wtr-general] Re: Unable to call ruby script multiple times!! To: Watir General watir-general@googlegroups.com Date: Friday, 12 November, 2010, 1:49 PM In Ft_001 wrap all your code in a method definition def Ft_001 rest of the script code here end The for the other script do this require 'Ft_001' 10.times do Ft_001() end If you need to sleep after the execution you can put that in. If you need to use the value of 'i' inside your script then it changes only a little First, Your definition needs to contain i def Ft_001(i) Then the calling script then looks like this require 'Ft_001' 10.times do |i| Ft_001(i) end On Nov 11, 11:35 pm, chethan sarathy chethan2...@yahoo.co.in wrote: here is my code @i = 1 begin require 'Ft_001' # This is my script sleep(10) @i = @i+1 end while @i 10 Thanks, Chethan --- On Wed, 10/11/10, Željko Filipin zeljko.fili...@wa-research.ch wrote: From: Željko Filipin zeljko.fili...@wa-research.ch Subject: Re: [wtr-general] Unable to call ruby script multiple times!! To: watir-general@googlegroups.com Date: Wednesday, 10 November, 2010, 2:28 PM On Wed, Nov 10, 2010 at 6:16 AM, Chethan chethan2...@gmail.com wrote: But I am unable to execute multiple times. Show us the code. Željko -- watir.com - community manager watirpodcast.com
Re: [wtr-general] Re: Unable to call ruby script multiple times!!
Hi Thanks for Helping me on this, Sorry I couldn't give you full picture, I have made my test case in one script .rb file i will Call using require command Some thing like this require ' TestCase_001' require 'TestCase_002' These will be ran through one .rb file This will run perfectly but I got only one problem I am not able to run these test cases multiple times. I tried your idea of (10.times do) still unlucky :( Thanks again, Chethan --- On Fri, 12/11/10, Chuck van der Linden sqa...@gmail.com wrote: From: Chuck van der Linden sqa...@gmail.com Subject: [wtr-general] Re: Unable to call ruby script multiple times!! To: Watir General watir-general@googlegroups.com Date: Friday, 12 November, 2010, 1:49 PM In Ft_001 wrap all your code in a method definition def Ft_001 rest of the script code here end The for the other script do this require 'Ft_001' 10.times do Ft_001() end If you need to sleep after the execution you can put that in. If you need to use the value of 'i' inside your script then it changes only a little First, Your definition needs to contain i def Ft_001(i) Then the calling script then looks like this require 'Ft_001' 10.times do |i| Ft_001(i) end On Nov 11, 11:35 pm, chethan sarathy chethan2...@yahoo.co.in wrote: here is my code @i = 1 begin require 'Ft_001' # This is my script sleep(10) @i = @i+1 end while @i 10 Thanks, Chethan --- On Wed, 10/11/10, Željko Filipin zeljko.fili...@wa-research.ch wrote: From: Željko Filipin zeljko.fili...@wa-research.ch Subject: Re: [wtr-general] Unable to call ruby script multiple times!! To: watir-general@googlegroups.com Date: Wednesday, 10 November, 2010, 2:28 PM On Wed, Nov 10, 2010 at 6:16 AM, Chethan chethan2...@gmail.com wrote: But I am unable to execute multiple times. Show us the code. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 -- 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 -- 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] Unable to call ruby script multiple times!!
here is my code @i = 1 begin require 'Ft_001' # This is my script sleep(10) @i = @i+1 end while @i 10 Thanks, Chethan --- On Wed, 10/11/10, Željko Filipin zeljko.fili...@wa-research.ch wrote: From: Željko Filipin zeljko.fili...@wa-research.ch Subject: Re: [wtr-general] Unable to call ruby script multiple times!! To: watir-general@googlegroups.com Date: Wednesday, 10 November, 2010, 2:28 PM On Wed, Nov 10, 2010 at 6:16 AM, Chethan chethan2...@gmail.com wrote: But I am unable to execute multiple times. Show us the code. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 -- 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] Running bat files in command prompt
You can run all the scripts form a bat file, to run multiple bat files one by one you can usefollowing command in bat file start /SEPARATE bat1.filestart /SEPARATE bat2.file This will make sure a independent command prompt will be running, from this you can run other ruby scripts or Watir Suite . Thanks,Chethan --- On Fri, 13/8/10, Cyril A. Gonsalves cyril.gonsal...@mastek.com wrote: From: Cyril A. Gonsalves cyril.gonsal...@mastek.com Subject: RE: [wtr-general] Running bat files in command prompt To: watir-general@googlegroups.com watir-general@googlegroups.com Date: Friday, 13 August, 2010, 1:33 PM Thanks for the update bro… J MASTEK LTD. In the US, we're called MAJESCOMASTEK ~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete t his e-mail from desktop and server. ~~ -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError)
Pls any one help me to over come this problem Thanks,Chethan --- On Mon, 26/7/10, chethan sarathy chethan2...@yahoo.co.in wrote: From: chethan sarathy chethan2...@yahoo.co.in Subject: Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: watir-general@googlegroups.com Date: Monday, 26 July, 2010, 2:40 PM Hi Currently I am getting following error following error, C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/jssh_socket.rb:12:in `js_eval': Components is not definedReferenceError: Components is not definedReferenceError: Components is not definedReferenceError: Components is not defined (JsshSocket::JSReferenceError) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:195:in `goto' Pls help me out for solving this problem. Thanks, Chethan --- On Mon, 26/7/10, chethan sarathy chethan2...@yahoo.co.in wrote: From: chethan sarathy chethan2...@yahoo.co.in Subject: Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: watir-general@googlegroups.com Date: Monday, 26 July, 2010, 12:20 PM Hi, I have uninstalled installed a 3.6.2 version, Added new Jssh again for 3.6 version. Still I am getting the same error, More over telnet localhost 9997 request is not getting connected. Pls help me on this. Thanks, Chethan --- On Fri, 23/7/10, Tiffany Fodor tcfo...@comcast.net wrote: From: Tiffany Fodor tcfo...@comcast.net Subject: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: Watir General watir-general@googlegroups.com Date: Friday, 23 July, 2010, 9:01 PM Hi! I think Firefox 3.6.7 is a new build. Have you installed the new jssh extension for it? Hope this helps! -Tiffany On Jul 23, 5:54 am, Chethan chethan2...@gmail.com wrote: Hi Every one, I am trying to run my script in firefox, I am getting following error :/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ jssh_socket.rb:12:in `js_eval': Components is not defined (JsshSocket::JSReferenceError) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:195:in `goto' from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:164:in `start' from C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.5/lib/watir/ browser.rb:71:in `start' Pls help me to solve this, I am executing this with window-XP- Firefox3.6.7 Thanks, Chethan -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError)
Hi Every one, Pls help me to solve this issue, I am unable to work with firefox browser. Thanks,Chethan --- On Mon, 26/7/10, chethan sarathy chethan2...@yahoo.co.in wrote: From: chethan sarathy chethan2...@yahoo.co.in Subject: Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: watir-general@googlegroups.com Date: Monday, 26 July, 2010, 2:40 PM Hi Currently I am getting following error following error, C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/jssh_socket.rb:12:in `js_eval': Components is not definedReferenceError: Components is not definedReferenceError: Components is not definedReferenceError: Components is not defined (JsshSocket::JSReferenceError) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:195:in `goto' Pls help me out for solving this problem. Thanks, Chethan --- On Mon, 26/7/10, chethan sarathy chethan2...@yahoo.co.in wrote: From: chethan sarathy chethan2...@yahoo.co.in Subject: Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: watir-general@googlegroups.com Date: Monday, 26 July, 2010, 12:20 PM Hi, I have uninstalled installed a 3.6.2 version, Added new Jssh again for 3.6 version. Still I am getting the same error, More over telnet localhost 9997 request is not getting connected. Pls help me on this. Thanks, Chethan --- On Fri, 23/7/10, Tiffany Fodor tcfo...@comcast.net wrote: From: Tiffany Fodor tcfo...@comcast.net Subject: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: Watir General watir-general@googlegroups.com Date: Friday, 23 July, 2010, 9:01 PM Hi! I think Firefox 3.6.7 is a new build. Have you installed the new jssh extension for it? Hope this helps! -Tiffany On Jul 23, 5:54 am, Chethan chethan2...@gmail.com wrote: Hi Every one, I am trying to run my script in firefox, I am getting following error :/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ jssh_socket.rb:12:in `js_eval': Components is not defined (JsshSocket::JSReferenceError) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:195:in `goto' from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:164:in `start' from C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.5/lib/watir/ browser.rb:71:in `start' Pls help me to solve this, I am executing this with window-XP- Firefox3.6.7 Thanks, Chethan -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError)
Hi, I have uninstalled installed a 3.6.2 version, Added new Jssh again for 3.6 version. Still I am getting the same error, More over telnet localhost 9997 request is not getting connected. Pls help me on this. Thanks, Chethan --- On Fri, 23/7/10, Tiffany Fodor tcfo...@comcast.net wrote: From: Tiffany Fodor tcfo...@comcast.net Subject: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: Watir General watir-general@googlegroups.com Date: Friday, 23 July, 2010, 9:01 PM Hi! I think Firefox 3.6.7 is a new build. Have you installed the new jssh extension for it? Hope this helps! -Tiffany On Jul 23, 5:54 am, Chethan chethan2...@gmail.com wrote: Hi Every one, I am trying to run my script in firefox, I am getting following error :/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ jssh_socket.rb:12:in `js_eval': Components is not defined (JsshSocket::JSReferenceError) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:195:in `goto' from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:164:in `start' from C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.5/lib/watir/ browser.rb:71:in `start' Pls help me to solve this, I am executing this with window-XP- Firefox3.6.7 Thanks, Chethan -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError)
Hi Currently I am getting following error following error, C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/jssh_socket.rb:12:in `js_eval': Components is not definedReferenceError: Components is not definedReferenceError: Components is not definedReferenceError: Components is not defined (JsshSocket::JSReferenceError) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:195:in `goto' Pls help me out for solving this problem. Thanks, Chethan --- On Mon, 26/7/10, chethan sarathy chethan2...@yahoo.co.in wrote: From: chethan sarathy chethan2...@yahoo.co.in Subject: Re: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: watir-general@googlegroups.com Date: Monday, 26 July, 2010, 12:20 PM Hi, I have uninstalled installed a 3.6.2 version, Added new Jssh again for 3.6 version. Still I am getting the same error, More over telnet localhost 9997 request is not getting connected. Pls help me on this. Thanks, Chethan --- On Fri, 23/7/10, Tiffany Fodor tcfo...@comcast.net wrote: From: Tiffany Fodor tcfo...@comcast.net Subject: [wtr-general] Re: Getting error (JsshSocket::JSReferenceError) To: Watir General watir-general@googlegroups.com Date: Friday, 23 July, 2010, 9:01 PM Hi! I think Firefox 3.6.7 is a new build. Have you installed the new jssh extension for it? Hope this helps! -Tiffany On Jul 23, 5:54 am, Chethan chethan2...@gmail.com wrote: Hi Every one, I am trying to run my script in firefox, I am getting following error :/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ jssh_socket.rb:12:in `js_eval': Components is not defined (JsshSocket::JSReferenceError) from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:195:in `goto' from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/ firefox.rb:164:in `start' from C:/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.5/lib/watir/ browser.rb:71:in `start' Pls help me to solve this, I am executing this with window-XP- Firefox3.6.7 Thanks, Chethan -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Error in installation of gem
any help on this...? The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -- 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
Re: [wtr-general] Error in installation of gem
Posted a request for solution in gemcutter group Thanks, Chethan The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -- 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
Re: [wtr-general] Error in installation of gem
H I All, Here is the solution for Ruby Installation Updating the Gems. Pls read this article for more info http://rubyforge.org/forum/forum.php?forum_id=35591 Steps: Find the New Ruby Installer 186-27_rc2.exe. in http://rubyforge.org/frs/?group_id=167 Install the same (run the command ruby -v some times it throws error in that case uninstall install again).Run gem update (earlier gem update --system doesn't work).Run gem install watir. Done. This will start running Watir :) Thanks to Shivananda gemcutter google group for all the help they extended. Cheers, Chethan The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -- 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
Re: [wtr-general] Error in installation of gem
Here are the results I got$ ruby -vruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] $ gem -v1.3.5 $ gem sources*** CURRENT SOURCES *** http://gems.rubyforge.org/ Thanks,Chethan The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -- 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: How to use Watir::Exception::TimeOutException
Thanks Alan, I have one doubt pls clarify this. If i define this in one common place(say some lib file) this will take effect for all the time out scenarios.. Eg: some time scripts will be expecting one pop up or unwanted pop up comes it couldn't under stand what to do with new pop up. these kind of scenarios Regards, Chethan --- On Thu, 16/10/08, Alan Baird [EMAIL PROTECTED] wrote: From: Alan Baird [EMAIL PROTECTED] Subject: [wtr-general] Re: How to use Watir::Exception::TimeOutException To: watir-general@googlegroups.com Date: Thursday, 16 October, 2008, 7:52 PM Chethan - Here is another way to add a generic timeout to any task using the Timeout class. require 'timeout' n = 0 begin Timeout::timeout(5) do loop do puts n n += 1 sleep (0.5) end end rescue Timeout::Error p oops timeout!! #~ exit end p the end Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/ --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~--~~~~--~~--~--~---