Forum: Ruby help in watir

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
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/
This topic is locked and can not be replied to.