Hi, I am new to ruby/watir.
I managed to write a script and running on Firefox. Though I have no idea why the script is not working for internet explorer. Do we have to install any ads on for internet explorer? Using in irb: require 'watir' Watir::Browser.default = "ie" Watir::Browser.new I am receiving the following error: C:\watir\hrs>ruby login.rb C:/Ruby19/lib/ruby/gems/1.9.1/gems/win32-api-1.4.6-x86-mingw32/lib/ win32/api.so: [BUG] Segmentation fault ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32] -- control frame ---------- c:0026 p:-4866774 s:0074 b:0074 l:000073 d:000073 TOP c:0025 p:---- s:0072 b:0072 l:000071 d:000071 CFUNC :require c:0024 p:0011 s:0068 b:0068 l:000067 d:000067 TOP C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/windows-api-0.4.0/lib/windows/api.rb:1 c:0023 p:---- s:0066 b:0066 l:000065 d:000065 FINISH c:0022 p:---- s:0064 b:0064 l:000063 d:000063 CFUNC :require c:0021 p:0011 s:0060 b:0060 l:000059 d:000059 TOP C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/windows-pr-1.0.9/lib/windows/error.rb:12 c:0020 p:---- s:0058 b:0058 l:000057 d:000057 FINISH c:0019 p:---- s:0056 b:0056 l:000055 d:000055 CFUNC :require c:0018 p:0011 s:0052 b:0052 l:000051 d:000051 TOP C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/win32-process-0.6.2/lib/win32/process.rb:1 c:0017 p:---- s:0050 b:0050 l:000049 d:000049 FINISH c:0016 p:---- s:0048 b:0048 l:000047 d:000047 CFUNC :require c:0015 p:0011 s:0044 b:0044 l:000043 d:000043 TOP C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/watir-1.6.5/lib/watir/ie-process.rb:1 c:0014 p:---- s:0042 b:0042 l:000041 d:000041 FINISH c:0013 p:---- s:0040 b:0040 l:000039 d:000039 CFUNC :require c:0012 p:0083 s:0036 b:0036 l:000035 d:000035 TOP C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/watir-1.6.5/lib/watir/ie.rb:45 c:0011 p:---- s:0034 b:0034 l:000033 d:000033 FINISH c:0010 p:0009 s:0032 b:0032 l:000023 d:000031 EVAL (eval):1 c:0009 p:---- s:0030 b:0030 l:000029 d:000029 FINISH c:0008 p:---- s:0028 b:0028 l:000027 d:000027 CFUNC :eval c:0007 p:0036 s:0024 b:0024 l:000023 d:000023 METHOD C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/commonwatir-1.6.5/lib/watir/browser.rb:89 c:0006 p:0018 s:0020 b:0020 l:000019 d:000019 METHOD C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/commonwatir-1.6.5/lib/watir/browser.rb:79 c:0005 p:0077 s:0016 b:0016 l:000015 d:000015 METHOD C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/commonwatir-1.6.5/lib/watir/browser.rb:142 c:0004 p:0011 s:0011 b:0011 l:000010 d:000010 METHOD C:/Ruby19/lib/ ruby/gems/1.9 .1/gems/commonwatir-1.6.5/lib/watir/browser.rb:64 c:0003 p:0049 s:0008 b:0008 l:002044 d:001184 EVAL login.rb:3 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:002044 d:002044 TOP --------------------------- -- Ruby level backtrace information----------------------------------------- C:/Ruby19/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows/ api.rb:1:in `re quire' C:/Ruby19/lib/ruby/gems/1.9.1/gems/windows-api-0.4.0/lib/windows/ api.rb:1:in `<t op (required)>' C:/Ruby19/lib/ruby/gems/1.9.1/gems/windows-pr-1.0.9/lib/windows/ error.rb:12:in ` require' C:/Ruby19/lib/ruby/gems/1.9.1/gems/windows-pr-1.0.9/lib/windows/ error.rb:12:in ` <top (required)>' C:/Ruby19/lib/ruby/gems/1.9.1/gems/win32-process-0.6.2/lib/win32/ process.rb:1:in `require' C:/Ruby19/lib/ruby/gems/1.9.1/gems/win32-process-0.6.2/lib/win32/ process.rb:1:in `<top (required)>' C:/Ruby19/lib/ruby/gems/1.9.1/gems/watir-1.6.5/lib/watir/ie-process.rb: 1:in `req uire' C:/Ruby19/lib/ruby/gems/1.9.1/gems/watir-1.6.5/lib/watir/ie-process.rb: 1:in `<to p (required)>' C:/Ruby19/lib/ruby/gems/1.9.1/gems/watir-1.6.5/lib/watir/ie.rb:45:in `require' C:/Ruby19/lib/ruby/gems/1.9.1/gems/watir-1.6.5/lib/watir/ie.rb:45:in `<top (requ ired)>' (eval):1:in `klass' C:/Ruby19/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/watir/ browser.rb:89:in `eval' C:/Ruby19/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/watir/ browser.rb:89:in `klass' C:/Ruby19/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/watir/ browser.rb:79:in `set_options' C:/Ruby19/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/watir/ browser.rb:142:in `set_sub_options' C:/Ruby19/lib/ruby/gems/1.9.1/gems/commonwatir-1.6.5/lib/watir/ browser.rb:64:in `new' login.rb:3:in `<main>' If one can help me with that I appreciate that a lot! The second issue is - the typing speed for firefox. Do we have any update on that? Thanks and happy day! Cristina -- 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: [email protected] To unsubscribe: [email protected]
