[Wtr-general] Javascript Alert windows
Matt Johnson
railmeat at gmail.com
Mon Oct 9 17:24:55 EDT 2006
Thank you, adding include Win32 worked.
-- MattJ
On 10/9/06, Cain, Mark <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] On Behalf Of David Schmidt
> Sent: Saturday, October 07, 2006 7:07 PM
> To: wtr-general at rubyforge.org; 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061009/4eed4aaf/attachment.html
More information about the Wtr-general
mailing list