Hi Darryl,
Thank you very much for providing the crystal clear steps on this.
I am able to run the scripts now, thank a lot.

rgrds,
venky

On Fri, Oct 2, 2009 at 6:51 AM, Darryl Brown <d-l-br...@roadrunner.com>wrote:

>
> Hello Venky,
>
> Are you trying to run the googleSearch.rb exactly as it is on the
> wiki.
> I'm not seeing a require 'watir' at line 14.
>
> Something to try -
> 1) Start an irb session a the command prompt.
> 2) At the irb prompt, - require 'watir' <enter>
> 3) If you have Waitr installed you will see "true" returned.
> 4) At the irb prompt -  ie = Watir::IE.new <enter>
> 5) At the irb prompt - ie.goto 'www.google.com'
>
> You should now be at google.com
>
>
>
> This is what you'll see at the console:
>
> C:\>irb
> irb(main):001:0> require 'watir'
> => true
> irb(main):002:0> ie = Watir::IE.new
> (there will be a lot of output to the console)
> irb(main):003:0> ie.goto 'www.google.com'
> => 0.797
>
> ##You should now be at google.com
> # Continue on and check load path
>
> irb(main):004:0> a = $:
> (there will be a lot of output
> irb(main):005:0> puts a
> c:/ruby/lib/ruby/site_ruby/1.8
> c:/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt
> c:/ruby/lib/ruby/site_ruby
> c:/ruby/lib/ruby/1.8
> c:/ruby/lib/ruby/1.8/i386-mswin32
>
> You should now be at google.com
>
> If it;s not working for you, please post your console
> output.
>
>
> Regards,
> Darryl
>
> On Oct 1, 5:38 am, Željko Filipin <zeljko.fili...@wa-research.ch>
> wrote:
>  > On Thu, Oct 1, 2009 at 11:32 AM, venkat <greet.ven...@gmail.com> wrote:
> > > I got the following message attached file that confirms Watir
> installation
> >
> > successfully, after that I have executed the same Test.rb file and again
> saw
> > the same error and and also executed the google_search.rb example script
> > again got to see to see the Require - LoadError...
> >
> > What happens if you add this to the top of the script?
> >
> > require "rubygems"
> >
> > If that does not help, I would:
> > - make sure I am logged in as administrator
> > - uninstall ruby
> > - install ruby
> > - install watir
> > - try the script one more time
> >
> > Željko
> > --http://watirpodcast.com/
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to