Re: [wtr-general] Re: Questiona about Watir in Mac with Firefox 3.6
On Thu, Feb 11, 2010 at 7:26 AM, Moises Siles moises.si...@gmail.com wrote: thanks man, now I'm able to run my test but when I ran the telnet I got a connection refused message :P I risk sounding like a broken record, but looks like you are in jssh hell. I would suggest that you try watir-webdriver. It can drive Firefox on Mac: 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 - 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] Re: Questiona about Watir in Mac with Firefox 3.6
I'm getting the following error when I ran the command sudo gem install selenium-webdriver Building native extensions. This could take a while... ERROR: Error installing selenium-webdriver: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/ffi-0.6.0 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/ffi-0.6.0/ext/ffi_c/gem_make.out On Thu, Feb 11, 2010 at 3:57 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Feb 11, 2010 at 7:26 AM, Moises Siles moises.si...@gmail.com wrote: thanks man, now I'm able to run my test but when I ran the telnet I got a connection refused message :P I risk sounding like a broken record, but looks like you are in jssh hell. I would suggest that you try watir-webdriver. It can drive Firefox on Mac: 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 - 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
Re: [wtr-general] Re: Questiona about Watir in Mac with Firefox 3.6
thanks man, now I'm able to run my test but when I ran the telnet I got a connection refused message :P regards On Wed, Feb 10, 2010 at 11:54 PM, subzero2000 stephen.leav...@gmail.comwrote: Your issue is likely due to the line that reads: RuntimeError: Firefox is running without -jssh In order to start jssh listening on port 9997, Firefox must be run from the Terminal command line as follows: /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh You should then be able to do telnet localhost 9997 from another Terminal window. You'll know it's successful if you see a prompt that looks something like: Welcome to the Mozilla JavaScript Shell! Hope this helps. On Feb 6, 1:41 pm, Moises Siles moises.si...@gmail.com wrote: Well, now I'm using firefox 3.5, also I downloaded the jssh firefox plugin and I ran the following test require watir url = www.google.com ie = Watir::Browser.new ie.goto url ie.text_field(:name, q).set showmedo.com ie.button(:name, btnG).click but after that I'm getting the following error related to the jssh require watir = true ? url = www.google.com = www.google.com ? ie = Watir::Browser.new RuntimeError: Firefox is running without -jssh from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:125:in `initialize' from /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:65:in `new' from /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:65:in `new' from simple-search.rb:5 ? ie.goto url NoMethodError: undefined method `goto' for nil:NilClass from simple-search.rb:7 ? ie.text_field(:name, q).set showmedo.com NoMethodError: undefined method `text_field' for nil:NilClass from simple-search.rb:9 ? ie.button(:name, btnG).click NoMethodError: undefined method `button' for nil:NilClass from simple-search.rb:11 any ideas about it, Thanks in advance On Sat, Feb 6, 2010 at 1:52 AM, Alister Scott alister.sc...@gmail.com wrote: Hi, You can use Firefox 3.5 until someone compiles the JSSH add-on for OSX. Alternatively you can take a look at SafariWatir: http://github.com/redsquirrel/safariwatir Cheers, Alister Scott -- 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 watir-general%2bunsubscr...@googlegroups.comwatir-general%252bunsubscr...@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.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] Re: Questiona about Watir in Mac with Firefox 3.6
Thanks, I'm using the administrator user, but how can I be sure that I have already installed the jssh plugin, I just downloaded and added in firefox. Thanks On Mon, Feb 8, 2010 at 12:43 AM, Angrez Singh ang...@gmail.com wrote: I think you need to install the JSSh plugin in Firefox 3.5 as Administrator. Can you make sure you have installed the plugin with administrator privileges. - Angrez On Sat, Feb 6, 2010 at 1:22 PM, Alister Scott alister.sc...@gmail.comwrote: Hi, You can use Firefox 3.5 until someone compiles the JSSH add-on for OSX. Alternatively you can take a look at SafariWatir: http://github.com/redsquirrel/safariwatir Cheers, Alister Scott -- 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.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] Re: Questiona about Watir in Mac with Firefox 3.6
I think you need to install the JSSh plugin in Firefox 3.5 as Administrator. Can you make sure you have installed the plugin with administrator privileges. - Angrez On Sat, Feb 6, 2010 at 1:22 PM, Alister Scott alister.sc...@gmail.comwrote: Hi, You can use Firefox 3.5 until someone compiles the JSSH add-on for OSX. Alternatively you can take a look at SafariWatir: http://github.com/redsquirrel/safariwatir Cheers, Alister Scott -- 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] Re: Questiona about Watir in Mac with Firefox 3.6
Well, now I'm using firefox 3.5, also I downloaded the jssh firefox plugin and I ran the following test require watir url = www.google.com ie = Watir::Browser.new ie.goto url ie.text_field(:name, q).set showmedo.com ie.button(:name, btnG).click but after that I'm getting the following error related to the jssh require watir = true ? url = www.google.com = www.google.com ? ie = Watir::Browser.new RuntimeError: Firefox is running without -jssh from /Library/Ruby/Gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:125:in `initialize' from /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:65:in `new' from /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:65:in `new' from simple-search.rb:5 ? ie.goto url NoMethodError: undefined method `goto' for nil:NilClass from simple-search.rb:7 ? ie.text_field(:name, q).set showmedo.com NoMethodError: undefined method `text_field' for nil:NilClass from simple-search.rb:9 ? ie.button(:name, btnG).click NoMethodError: undefined method `button' for nil:NilClass from simple-search.rb:11 any ideas about it, Thanks in advance On Sat, Feb 6, 2010 at 1:52 AM, Alister Scott alister.sc...@gmail.comwrote: Hi, You can use Firefox 3.5 until someone compiles the JSSH add-on for OSX. Alternatively you can take a look at SafariWatir: http://github.com/redsquirrel/safariwatir Cheers, Alister Scott -- 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