Thank you, adding include Win32 worked.

-- MattJ

On 10/9/06, Cain, Mark <[EMAIL PROTECTED]> wrote:
You could also just put "include Win32" right above the
"def enabled_popup(timeout=4)" in /watir/contrib/enabled_popup.rb

--Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of David Schmidt
Sent: Saturday, October 07, 2006 7:07 PM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: [Wtr-general] _javascript_ Alert windows

Matt,

The problem is that when the enabled_popup method was removed from
watir.rb the definitions for GetWindows() definition wasn't moved with
it.  Afterwards, the definition for GetWindows was moved in the watir.rb

file so that it is no longer found by enabled_popup.

If you look in the watir.rb file for GetWindow and move those
definitions into the enabled_popup.rb file then it should work fine.

David Schmidt


--
[EMAIL PROTECTED]
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to