[wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-09-10 Thread al3kc
So watir-webdriver will be final solution to support FF4.0?

-- 
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: Jssh for Firefox 4.0 beta3

2010-09-10 Thread Željko Filipin
On Fri, Sep 10, 2010 at 11:11 AM, al3kc aleks.kiev...@gmail.com wrote:
 So watir-webdriver will be final solution to support FF4.0?

As far as I understood it, yes.

Ž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


Re: [wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-09-01 Thread Željko Filipin
Hi,

Comments are inline.

On Tue, Aug 31, 2010 at 6:05 PM, Super Kevy kpe...@scholarshipamerica.org
wrote:
   -  Error: Failed to build gem native extension

Do you have devkit installed? I am not sure it is supported on windows 2000.

 4. Install the webdriver
 5. Test it: in firefox -- works
 6. Test it in IE6 - Fail
 7.  Test in FF round 2 - Pass
 8.  Test in IE6 round 2 - Pass

So, webdriver gem can drive firefox but not IE, and watir/firewatir gem can
drive both firefox and IE?

Ž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


[wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-09-01 Thread Super Kevy
 So, webdriver gem can drive firefox but not IE, and watir/firewatir gem can
 drive both firefox and IE?

 Željko

Yes that is correct.

Webkit requirements says XP OS, but I went ahead and did fresh
installs of ruby/watir/webdriver and devkit in the W2k system and
retested. Here's a thread showing the devkit install and
subsequent launch of ie6 using watir-webdriver.

DEVKIT INSTALL version DevKit-4.5.0-20100819-1536-sfx.exe
--
C:\cd devkit

C:\devkitdir/w
 Volume in drive C has no label.
 Volume Serial Number is B89D-5592

 Directory of C:\devkit

[.]  [..] [bin]devkitvars.bat
dk.rb[etc][include][lib]
m.ico[mingw]  msys.bat msys.ico
perllocal.pod[postinstall][sbin]   [share]
   6 File(s) 58,004 bytes
  10 Dir(s)   7,695,446,016 bytes free

C:\devkitruby dk.rb

Configures an MSYS/MinGW based Development Kit (DevKit) for
each of the Ruby installations on your Windows system. The
DevKit enables you to build many of the available native
C-based RubyGems that don't yet have a binary gem.

Usage: ruby dk.rb COMMAND

where COMMAND is one of:

  init prepare DevKit for installation
  review   review DevKit install plan
  install  install required DevKit executables


C:\devkitruby dk.rb init
[INFO] found RubyInstaller v1.8.7 at C:/Ruby

Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.

C:\devkitruby dk.rb review
Based upon the settings in the 'config.yml' file generated
from running 'ruby dk.rb init' and any of your customizations,
DevKit functionality will be injected into the following Rubies
when you run 'ruby dk.rb install'.

C:/Ruby

C:\devkitruby dk.rb install
[INFO] Installing C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/defaults/
operating_sys
tem.rb
[INFO] Installing C:/Ruby/lib/ruby/site_ruby/devkit.rb

C:\devkitgem install rdiscount --platform=ruby
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
Successfully installed rdiscount-1.6.5
1 gem installed
Installing ri documentation for rdiscount-1.6.5...
Installing RDoc documentation for rdiscount-1.6.5...

C:\devkitruby -rubygems -e require 'rdiscount'; puts
RDiscount.new('**Hello Ru
byInstaller**').to_html
pstrongHello RubyInstaller/strong/p

C:\devkitdir *.bat
 Volume in drive C has no label.
 Volume Serial Number is B89D-5592

 Directory of C:\devkit

08/19/2010  02:36p 288 devkitvars.bat
11/22/2009  04:13p   7,250 msys.bat
   2 File(s)  7,538 bytes
   0 Dir(s)   7,694,725,120 bytes free

C:\devkitdevkitvars.bat
Adding the DevKit to PATH...

C:\devkitpath
PATH=C:\devkit\bin;C:\devkit\mingw\bin;C:\Ruby\bin;C:\WINNT\system32;C:
\WINNT;C:
\WINNT\System32\Wbem

C:\devkit


WATIR-WEBDRIVER  TEST
--
1. FireFox - WORKS
require rubygems
require watir-webdriver
browser = Watir::Browser.new(:firefox)
browser.goto('http://www.google.com')
sleep 3
browser.close

2. IE6 - FAILS
require rubygems
require watir-webdriver
browser = Watir::Browser.new(:ie)
browser.goto('http://www.google.com')
sleep 3
browser.close


IE6 Popup
ruby.exe - Entry Point Not Found
The procedure entry point GetModuleHandleExW could not be located in
dynamic link library KERNEL32.dll

C:/Ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3-x86-mingw32/lib/ffi/
library.rb:61:in `ffi_lib': Could not open library 'C:/Ruby/lib/ruby/
gems/1.8/gems/selenium-webdriver-0.0.28/lib/selenium/webdriver/ie/
native/win32/InternetExplorerDriver.dll': The specified procedure
could not be found.
 (LoadError)
from C:/Ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3-x86-mingw32/lib/ffi/
library.rb:43:in `map'
from C:/Ruby/lib/ruby/gems/1.8/gems/ffi-0.6.3-x86-mingw32/lib/ffi/
library.rb:43:in `ffi_lib'
from C:/Ruby/lib/ruby/gems/1.8/gems/selenium-webdriver-0.0.28/lib/
selenium/webdriver/ie/lib.rb:15
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from C:/Ruby/lib/ruby/gems/1.8/gems/selenium-webdriver-0.0.28/lib/
selenium/webdriver/ie.rb:16
from C:/Ruby/lib/ruby/gems/1.8/gems/selenium-webdriver-0.0.28/lib/
selenium/webdriver/driver.rb:40:in `for'
from C:/Ruby/lib/ruby/gems/1.8/gems/selenium-webdriver-0.0.28/lib/
selenium/webdriver.rb:73:in `for'
from C:/Ruby/lib/ruby/gems/1.8/gems/watir-webdriver-0.0.8/lib/watir-
webdriver/browser.rb:34:in `initialize'
from klp2.rb:5:in `new'
from klp2.rb:5
Exit code: 1

3. Considering the ancient OS its understandable.   I dont recall if
selenium every supported W2K.

- Best Regards :)





-- 
Before 

[wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-08-31 Thread Super Kevy
Win2k partial resolution (reproduced hopefully without typo's)
The problem appeared to be in the rake gem remote install and ffi

1. Run Cleanup and Update
 gem cleanup
 gem update --system

2. Manually download rake-0.8.7.gem  to the local machine and install
 gem install rake-0.8.7.gem
- 1 gem successfully installed
3. Manually download ffi-0.6.3.gem and try to install it (it failed)
 gem install ffi-0.6.3.gem
   -  Error: Failed to build gem native extension
- nmake is not recogized.
- gem files will remain installed in c:/ruby/lib
4. Install the webdriver
 gem install watir-webdriver
   - 3 gems installed

5. Test it: in firefox -- works
require rubygems
require watir-webdriver
browser=Watir::Browser.new(:firefox)
browser.goto(http://www.google.com;)
sleep 3
browser.close

6. Test it in IE6 - Fail
require rubygems
require watir-webdriver
browser=Watir::Browser.new(:ie)
browser.goto(http://www.google.com;)
sleep 3
browser.close

Errors are thrown about ffi-0.6.3
 nmake is not recogized as an internal or external command,
operable program or batch file.

 downloaded nmake from Microsoft and installed but I'm still
having problems with ffi. building
I'll research a little more and update the thread when I get full
success or NOT

Now for the fun, knowing the ffi error issue exists
7.  Test in FF round 2 - Pass
 require rubygems
 require watir
 Watir::Browser.default = 'firefox'
  browser = Watir::Browser.new
 browser.goto(http://www.google.com;)
 sleep 3
 browser.close

8.  Test in IE6 round 2 - Pass
 require rubygems
 require watir
 Watir::Browser.default = 'ie'
  browser = Watir::Browser.new
 browser.goto(http://www.google.com;)
 sleep 3
 browser.close


At least I have a method to run both without JSSH

-- 
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: Jssh for Firefox 4.0 beta3

2010-08-30 Thread Željko Filipin
On Fri, Aug 27, 2010 at 7:56 PM, Super Kevy kpe...@scholarshipamerica.org
wrote:
 Win2k Install:

I do not have Windows 2000, but I just tried installing Ruby and
watir-webdriver on fully patched Windows XP machine (Professional, Version
2002, Service Pack 3), and it just worked.

Do you have DevKit (http://rubyinstaller.org/downloads/) installed?

What I did:

- downloaded Ruby 1.8.6-p398 http://rubyinstaller.org/downloads/ (since you
have Ruby 1.8.6)
- installed (make sure you check both add ruby to path and associate .rb
files with this Ruby options checked)

ruby -v
ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32]

gem -v
1.3.7

gem install watir-webdriver
Successfully installed json_pure-1.4.6
Successfully installed rubyzip-0.9.4
Successfully installed rake-0.8.7
Successfully installed ffi-0.6.3-x86-mingw32
Successfully installed selenium-webdriver-0.0.28
Successfully installed watir-webdriver-0.0.7
6 gems installed
Installing ri documentation for json_pure-1.4.6...
Installing ri documentation for rubyzip-0.9.4...
Installing ri documentation for rake-0.8.7...
Installing ri documentation for ffi-0.6.3-x86-mingw32...
Installing ri documentation for selenium-webdriver-0.0.28...
Installing ri documentation for watir-webdriver-0.0.7...
Installing RDoc documentation for json_pure-1.4.6...
Installing RDoc documentation for rubyzip-0.9.4...
Installing RDoc documentation for rake-0.8.7...
Installing RDoc documentation for ffi-0.6.3-x86-mingw32...
Installing RDoc documentation for selenium-webdriver-0.0.28...
Installing RDoc documentation for watir-webdriver-0.0.7...

irb
 require rubygems
= true
 require watir-webdriver
= true
 browser = Watir::Browser.new :ie
= #Watir::Browser:0x33f9e28 url= title=

Ž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


Re: [wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-08-27 Thread Željko Filipin
On Thu, Aug 26, 2010 at 10:13 PM, Super Kevy kpe...@scholarshipamerica.org
wrote:
 I'll need to review webdriver
 can you link me to that information.

http://github.com/jarib/watir-webdriver
http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/

Ž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


Re: [wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-08-27 Thread Felipe Knorr Kuhn
did you try updating rubygems and the installed gems?

gem update --system
gem update

On Fri, Aug 27, 2010 at 2:56 PM, Super Kevy
kpe...@scholarshipamerica.orgwrote:

 Followed the links:
 http://github.com/jarib/watir-webdriver
 http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/

 Test the install notes on
 http://zeljkofilipin.com/2010/01/12/watir-on-webdriver/

 Win2k Install:
 1. Did gem install watir-webdriver.
 Returns:
 ERROR: Error installing watir-webdriver:
  ffi requires rake =0.0.7, runtime

 2. Fix attempt
 gem install rake
 gem install watir-webdriver
 Returns:
 ERROR: Error installing watir-webdriver:
  ffi requires rake =0.0.7, runtime

 About:
 Ruby Verison: 1.8.6
 Watir Version: 1.6.5
 OS: W2K
 Browsers: IE6, FF 3.5.7

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


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


[wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-08-27 Thread Super Kevy
Follow up: Still occurs...

STEP 1
C:\gem update --system
Updating RubyGems
Nothing to update

STEP 2
C:\gem update
Updating installed gems
Updating cucumber

(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
(::)

 (::)   U P G R A D I N G(::)

Thank you for installing cucumber-0.8.5.
Please be sure to read http://wiki.github.com/aslakhellesoy/cucumber/upgrading
for important information about this release. Happy cuking!

(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
(::)

Successfully installed gherkin-2.1.5-x86-mswin32
Successfully installed cucumber-0.8.5
Updating fxruby
Building native extensions.  This could take a while...
ERROR:  Error installing fxruby:
ERROR: Failed to build gem native extension.

c:/ruby/bin/ruby.exe extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--srcdir=.
--curdir
--ruby=c:/ruby/bin/ruby
--with-fox-dir
--without-fox-dir
--with-fox-include
--without-fox-include=${fox-dir}/include
--with-fox-lib
--without-fox-lib=${fox-dir}/lib
--with-fxscintilla-dir
--without-fxscintilla-dir
--with-fxscintilla-include
--without-fxscintilla-include=${fxscintilla-dir}/include
--with-fxscintilla-lib
--without-fxscintilla-lib=${fxscintilla-dir}/lib
extconf.rb:31:in `find_installed_fox_version': couldn't find FOX
header files (R
untimeError)
from extconf.rb:125


Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/
fxruby-1.6.20
for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.20/ext/
fox16/gem_mak
e.out
Updating hoe
ERROR:  Error installing hoe:
hoe requires rake (= 0.8.7, runtime)
Updating log4r
Successfully installed log4r-1.1.8
Updating nokogiri
Successfully installed nokogiri-1.4.3.1-x86-mswin32
Updating rake
Successfully installed json_pure-1.2.0
Updating treetop
Successfully installed treetop-1.4.8
Updating win32-dir
Successfully installed win32-dir-0.3.7
Updating win32-file
Successfully installed win32-file-0.6.5
Gems updated: gherkin, cucumber, json_pure, log4r, nokogiri,
json_pure, treetop,
 win32-dir, win32-file
Installing ri documentation for gherkin-2.1.5-x86-mswin32...
Installing ri documentation for cucumber-0.8.5...
Installing ri documentation for json_pure-1.2.0...
Installing ri documentation for log4r-1.1.8...
Couldn't find file to include: '../rdoc/log4jxmlformatter'
Installing ri documentation for nokogiri-1.4.3.1-x86-mswin32...

No definition for parse_memory

No definition for parse_file

No definition for parse_with

No definition for get_options

No definition for set_options
Installing ri documentation for json_pure-1.2.0...
Installing ri documentation for treetop-1.4.8...
Installing ri documentation for win32-dir-0.3.7...
Installing ri documentation for win32-file-0.6.5...
Installing RDoc documentation for gherkin-2.1.5-x86-mswin32...
Installing RDoc documentation for cucumber-0.8.5...
Installing RDoc documentation for json_pure-1.2.0...
Installing RDoc documentation for log4r-1.1.8...
Couldn't find file to include: '../rdoc/log4jxmlformatter'
Installing RDoc documentation for nokogiri-1.4.3.1-x86-mswin32...

No definition for parse_memory

No definition for parse_file

No definition for parse_with

No definition for get_options

No definition for set_options
Installing RDoc documentation for json_pure-1.2.0...
Installing RDoc documentation for treetop-1.4.8...
Installing RDoc documentation for win32-dir-0.3.7...
Installing RDoc documentation for win32-file-0.6.5...


STEP 3
gem install watir-webdriver.
Returns:
ERROR: Error installing watir-webdriver:
  ffi requires rake =0.0.7, runtime


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


[wtr-general] Re: Jssh for Firefox 4.0 beta3

2010-08-26 Thread Super Kevy
OK assuming JSSH getting depreciated.   I'll need to review webdriver
can you link me to that information.
I assume the site will have some simple examples for launching each
browser

Yes when JSSH fails its kind of a pain or just plain computer magic to
get it working again.

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