By including Watir, you no longer need to use the "Watir" in ie =
Watir::IE.new -- it's nice for cleaning up code later.  If you change
the code to:

require 'watir' 
include Watir

ie = IE.new

It should also work.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lennart Borgman
(gmail)
Sent: Thursday, July 12, 2007 1:56 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Another Try...

Lonny Eachus wrote:
> I have to try one more time. So far I have not figured out the
problem.
> 
> Recently, I installed Visual Studio .NET, which I needed to debug some

> .NET issues. After I did that (the timing seems to be right), Watir 
> has not worked within irb.
> 
> When I do this:
> 
>     require 'watir'
>     include 'Watir'
> 
>     ie = IE.new

I know hardly nothing about this, I do not have .NET installed here, but
I can do

   irb> require 'watir'
   irb> ie = Watir::IE.new()
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to