Hi Željko, Thanks for the guidance. If i write only the command " require "watir" " then it is giving the result as false. but after writing " require "rubygems" " it is returning the value as true.
The following is the result: C:\Documents and Settings\sudeepp>irb irb(main):001:0> require "watir" LoadError: no such file to load -- watir from (irb):1:in `require' from (irb):1 irb(main):002:0> require "rubygems" => true irb(main):003:0> require "watir" => true FYI, I have installed Ruby 1.8.6 and installed WATIR using the command " gem install watir ". Regards, Sudeep On Fri, Nov 26, 2010 at 4:50 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Fri, Nov 26, 2010 at 12:10 PM, Sudeep <sudeeppattn...@gmail.com> wrote: > > require 'Watir' or > > require 'watir' > > You should only use require 'watir' > > > > irb(main):002:0> require 'watir' > > LoadError: no such file to load -- watir > > Do you have Watir installed? > > Try this from command line: gem list watir > > Also, maybe you have to require rubygems first. Try this in IRB: > > require "rubygems" > require "watir" > > Željko > -- > watir.com - community manager > watirpodcast.com - host > testingpodcast.com - audio podcasts on software testing. all of them > > > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com