On 7/12/07, Lonny Eachus <[EMAIL PROTECTED]> wrote:

When I do this:

    require 'watir'
    include 'Watir'

    ie = IE.new

I get

    NameError: uninitialized constant IE


Does this work for you?

 irb> require 'watir'
 irb> ie = Watir::IE.new()

Bret has recently persuaded me that including Watir is often not the best
way to go. That said, if you prefer including it, as Adam asked, have you
tried

 irb> require 'watir'
 irb> include Watir  # without the 'quotes'
 irb> ie = IE.new()

Let us know how this works for you,
Jeff


--
http://testingjeff.wordpress.com
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to