[Wtr-general] Javascript Alert windows
Bret Pettichord
bret at pettichord.com
Tue Oct 10 00:48:39 EDT 2006
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* <Mark_Cain at rl.gov <mailto:Mark_Cain at rl.gov>>
> 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: wtr-general-bounces at rubyforge.org
> <mailto:wtr-general-bounces at rubyforge.org>
> [mailto:wtr-general-bounces at rubyforge.org
> <mailto:wtr-general-bounces at rubyforge.org>] On Behalf Of David Schmidt
> Sent: Saturday, October 07, 2006 7:07 PM
> To: wtr-general at rubyforge.org <mailto:wtr-general at rubyforge.org>;
> railmeat at gmail.com <mailto:railmeat at gmail.com>
> 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
>
>
> --
> railmeat at gmail.com <mailto:railmeat at gmail.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
More information about the Wtr-general
mailing list