Forum: Ruby help in watir

3a967b5f1f9bee3049e8e4ed9243a51a?d=identicon&s=25 K sathya Narayanan (sathyak83)
on 2008-05-30 08:55
i
I have installed Ruby 1.8.5-21 and also installed the watir gem. but
when i use the below statement
require 'watir' #i get the below error

./watir.rb:4: uninitialized constant Watir (NameError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from watir.rb:2
>Exit code: 1

please tell me how to prevent this error.

Thanks in Advance
K Sathya Narayanan
B68b117e52c0805273113d5dd49d3c92?d=identicon&s=25 Sathees Elaxa (sathees)
on 2015-03-24 20:20
how to find element from popup window in wwatir
14b5582046b4e7b24ab69b7886a35868?d=identicon&s=25 Joel Pearson (virtuoso)
on 2015-03-25 23:17
See this link for an example of how to switch to another window:
http://watirwebdriver.com/browser-popups/
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.