Re: [wtr-general] Query regarding chromewatir
Hi , I went through your blog. But i didn't find any steps regarding installation of selenium-webdriver and watir-webdriver. Can anybody help me regarding this issue? It's urgent. Also tell the various gems to be installed. Regards, Mrunal On Thu, Mar 18, 2010 at 6:29 AM, Al Snow jas...@hotmail.com wrote: Mrunal, You are welcome to read my trials-and-errors (Chapters 51+) on my blog (http://my-ruby-journey.blogspot.com/) dealing with me trying to get watir-webdriver and selenium-webdriver to install cleanly. I would check first that you have done a *gem update* to get all updates for all gems. I can also do a *gem outdated* to get a list of installed vs. latest gems. FYI, Al Snow -- Date: Wed, 17 Mar 2010 17:54:32 +0530 From: mrunal.gor...@gmail.com To: watir-general@googlegroups.com Subject: Re: [wtr-general] Query regarding chromewatir Hi, when I tried to install gem install selenium-webdriver I got following error selenium-webdriver requires ffi=0 Then i gave command, gem install ffi-0.6.3 I got following error. Building native extensions. This could take a while... ERROR: While executing gem ... (RuntimeError) Error instaling C:\Documents and Settings\Administrator\Desktop\ffi-0.6.3.gem: ERROR: Failed to build gem native extension. ruby extconf.rb install C:\Documents and Settings\Administrator\Desktop\ffi-0.6.3.gem checking for rb_thread_blocking_region()... no creating extconf.h creating Makefile nmake 'nmake' is not recognized as an internal or external command, operable program or batch file. Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3/ext/ffi_c/gem_make.out Can anybody tell the steps for installing selenium-webdriver and watir-webdriver?? Regards, Mrunal Željko Filipin wrote: On Wed, Mar 10, 2010 at 11:59 AM, Mrunal mrunal.gor...@gmail.com wrote: I want to test the web applications with google chrome. I am not sure ChromeWatir is in active development any more. Try watir-webdriver, it can drive Chrome: http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/ Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- The New Busy is not the old busy. Search, chat and e-mail from your inbox. Get started.http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3 -- 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.comwatir-general%2bunsubscr...@googlegroups.com -- Regards, Mrunal -- 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 To unsubscribe from this group, send email to watir-general+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [wtr-general] Query regarding chromewatir
On Fri, Mar 19, 2010 at 7:28 AM, Mrunal Gore mrun...@qualitykiosk.com wrote: But i didn't find any steps regarding installation of selenium-webdriver and watir-webdriver. You can create a ticket here: http://github.com/jarib/watir-webdriver/issues Željko -- 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 To unsubscribe from this group, send email to watir-general+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [wtr-general] Query regarding chromewatir
Hi, when I tried to install |gem ||install| |selenium-webdriver I got following error ||selenium-webdriver requires ffi=0 Then i gave command, ||gem ||install| |ffi-0.6.3 ||I got following error. |||Building native extensions. This could take a while... ERROR: While executing gem ... (RuntimeError) Error instaling C:\Documents and Settings\Administrator\Desktop\ffi-0.6.3.gem: ERROR: Failed to build gem native extension. ruby extconf.rb install C:\Documents and Settings\Administrator\Desktop\ffi-0.6.3.gem checking for rb_thread_blocking_region()... no creating extconf.h creating Makefile nmake 'nmake' is not recognized as an internal or external command, operable program or batch file. Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3/ext/ffi_c/gem_make.out | Can anybody tell the steps for installing selenium-webdriver and watir-webdriver?? Regards, Mrunal | Z(eljko Filipin wrote: On Wed, Mar 10, 2010 at 11:59 AM, Mrunal mrunal.gor...@gmail.com mailto:mrunal.gor...@gmail.com wrote: I want to test the web applications with google chrome. I am not sure ChromeWatir is in active development any more. Try watir-webdriver, it can drive Chrome: http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/ Z(eljko -- watir.com http://watir.com - community manager pledgie.com/campaigns/2982 http://pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com http://watirpodcast.com/ - host testingpodcast.com http://testingpodcast.com - audio podcasts on software testing. all of them -- 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 -- 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] Query regarding chromewatir
Mrunal, You are welcome to read my trials-and-errors (Chapters 51+) on my blog (http://my-ruby-journey.blogspot.com/) dealing with me trying to get watir-webdriver and selenium-webdriver to install cleanly. I would check first that you have done a gem update to get all updates for all gems. I can also do a gem outdated to get a list of installed vs. latest gems. FYI, Al Snow Date: Wed, 17 Mar 2010 17:54:32 +0530 From: mrunal.gor...@gmail.com To: watir-general@googlegroups.com Subject: Re: [wtr-general] Query regarding chromewatir Hi, when I tried to install gem install selenium-webdriver I got following error selenium-webdriver requires ffi=0 Then i gave command, gem install ffi-0.6.3 I got following error. Building native extensions. This could take a while... ERROR: While executing gem ... (RuntimeError) Error instaling C:\Documents and Settings\Administrator\Desktop\ffi-0.6.3.gem: ERROR: Failed to build gem native extension. ruby extconf.rb install C:\Documents and Settings\Administrator\Desktop\ffi-0.6.3.gem checking for rb_thread_blocking_region()... no creating extconf.h creating Makefile nmake 'nmake' is not recognized as an internal or external command, operable program or batch file. Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3 for inspection. Results logged to c:/ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3/ext/ffi_c/gem_make.out Can anybody tell the steps for installing selenium-webdriver and watir-webdriver?? Regards, Mrunal Željko Filipin wrote: On Wed, Mar 10, 2010 at 11:59 AM, Mrunal mrunal.gor...@gmail.com wrote: I want to test the web applications with google chrome. I am not sure ChromeWatir is in active development any more. Try watir-webdriver, it can drive Chrome: http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/ Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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 -- 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 _ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3 -- 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] Query regarding chromewatir
I use the latest version of chromewatir, I have also met a problem. When I run the code below: *require chrome_watir** **$browser = ChromeWatir::Browser.new* *$browser.goto(**www.google.com* http://www.yahoo.com/*)* *$browser.text_field(:name, q).set hello world* *$browser.button(:index, 1).click* The script hangs when it turns to www.google.com, it can't access the text field. When I close the browser, it displays the error message as below: *d:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/chrome_watir/container.rb:348:in `recv': An existing connection was forcibly closed by the remote host. - recvfrom(2) (Errno::ECONNRESET)* Wesley. For life, the easier, the better. On Thu, Mar 11, 2010 at 12:06 PM, Mrunal mrunal.gor...@gmail.com wrote: ory or anyw -- 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] Query regarding chromewatir
On Wed, Mar 10, 2010 at 11:59 AM, Mrunal mrunal.gor...@gmail.com wrote: I want to test the web applications with google chrome. I am not sure ChromeWatir is in active development any more. Try watir-webdriver, it can drive Chrome: http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/ Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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] Query regarding chromewatir
In fact, it can open the IE window, but it can't access the text field. Wesley. For life, the easier, the better. On Thu, Mar 11, 2010 at 5:17 PM, Wesley Chen cjq@gmail.com wrote: Hi, Zeljko, When I install gem install selenium-webdriver gem install watir-webdriver --pre I run the code below: *require watir-webdriver* *browser = Watir::Browser.new(:internet_explorer)* *browser.goto(www.google.com)* *browser.text_field(:name, q).set(Hello world)* *browser.button(:index, 1).click* I get error message: d:/ruby/lib/ruby/gems/1.8/gems/watir-webdriver-0.0.1.dev5/lib/watir-webdriver/base_element.rb:324:in `assert_writable': Watir::Exception::ObjectReadOnlyException (Watir::Exception::ObjectReadOnlyException) When I change the *:internet_explorer* to *:chrome*, anything goes expected. Wesley. For life, the easier, the better. On Thu, Mar 11, 2010 at 5:01 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Mar 10, 2010 at 11:59 AM, Mrunal mrunal.gor...@gmail.com wrote: I want to test the web applications with google chrome. I am not sure ChromeWatir is in active development any more. Try watir-webdriver, it can drive Chrome: http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/ Željko -- watir.com - community manager pledgie.com/campaigns/2982 - donate to Watir watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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] Query regarding chromewatir
Hi I want to test the web applications with google chrome. I've installed Google Chrome browser and the gem Chromewatir 1.5.1 I tried the following small test require chrome_watir include ChromeWatir $k = Browser.new $k.goto(www.yahoo.com) But when the first time test is executed i get following error. c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/chrome_watir/ chrome_connection.rb:7:in `initialize': Bad file descriptor - connect(2) (Errno::EBADF) from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/chrome_connection.rb:7:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/chrome_connection.rb:7:in `get' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/container.rb:347:in `read_socket' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/container.rb:321:in `wait_for_page_to_load' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/browser.rb:16:in `goto' In the second execution, browser get opened but the test is not coming out from the 'read_socket' method in container.rb Can anybody help me regarding this? Anybody have the solution for this. Please guide. -- 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] Query regarding chromewatir
Try: require chrome_watir $k = ChromeWatir::Browser.new $k.goto(www.yahoo.com) Wesley. For life, the easier, the better. On Wed, Mar 10, 2010 at 6:59 PM, Mrunal mrunal.gor...@gmail.com wrote: Hi I want to test the web applications with google chrome. I've installed Google Chrome browser and the gem Chromewatir 1.5.1 I tried the following small test require chrome_watir include ChromeWatir $k = Browser.new $k.goto(www.yahoo.com) But when the first time test is executed i get following error. c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/chrome_watir/ chrome_connection.rb:7:in `initialize': Bad file descriptor - connect(2) (Errno::EBADF) from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/chrome_connection.rb:7:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/chrome_connection.rb:7:in `get' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/container.rb:347:in `read_socket' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/container.rb:321:in `wait_for_page_to_load' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/browser.rb:16:in `goto' In the second execution, browser get opened but the test is not coming out from the 'read_socket' method in container.rb Can anybody help me regarding this? Anybody have the solution for this. Please guide. -- 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.comwatir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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] Query regarding chromewatir
Hi Wesley, Thanks for the reply. I tried your solution but its giving same problem mentioned in the previous mail. Where should i save that small test? in the installation directory or anywhere else. I saved the test in chrome_watir folder. Waiting for your kind reply. Regards, Mrunal Wesley Chen wrote: Try: require chrome_watir $k = ChromeWatir::Browser.new $k.goto(www.yahoo.com http://www.yahoo.com/) Wesley. For life, the easier, the better. On Wed, Mar 10, 2010 at 6:59 PM, Mrunal mrunal.gor...@gmail.com mailto:mrunal.gor...@gmail.com wrote: Hi I want to test the web applications with google chrome. I've installed Google Chrome browser and the gem Chromewatir 1.5.1 I tried the following small test require chrome_watir include ChromeWatir $k = Browser.new $k.goto(www.yahoo.com http://www.yahoo.com) But when the first time test is executed i get following error. c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/chrome_watir/ chrome_connection.rb:7:in `initialize': Bad file descriptor - connect(2) (Errno::EBADF) from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/chrome_connection.rb:7:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/chrome_connection.rb:7:in `get' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/container.rb:347:in `read_socket' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/container.rb:321:in `wait_for_page_to_load' from c:/ruby/lib/ruby/gems/1.8/gems/chromewatir-1.5.1/lib/ chrome_watir/browser.rb:16:in `goto' In the second execution, browser get opened but the test is not coming out from the 'read_socket' method in container.rb Can anybody help me regarding this? Anybody have the solution for this. Please guide. -- 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 mailto: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 mailto:watir-general%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -- 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 -- 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