I committed this change as recommended. Thanks Matt, Mark and David. http://svn.openqa.org/fisheye/changelog/watir/?cs=1115
Bret Matt Johnson wrote: > Thank you, adding include Win32 worked. > > -- MattJ > > On 10/9/06, *Cain, Mark* <[EMAIL PROTECTED] <mailto:[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]> > [mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>] On Behalf Of David Schmidt > Sent: Saturday, October 07, 2006 7:07 PM > To: [email protected] <mailto:[email protected]>; > [EMAIL PROTECTED] <mailto:[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] <mailto:[EMAIL PROTECTED]> > ------------------------------------------------------------------------ > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
