Hi Nathan, The trunk (SVN repository on SourceForge) of WatiN has a fix for this (by not checking the parent window any more). But I'll have a look at Ethan's suggestion to use GetWindow([hwnd of IE], GW_ENABLED_POPUP).
If there are any more questions about this issue with WatiN please use the [email protected] mailing list, so this won't bother watir users and this list. HTH, Jeroen van Menen On Thu, Sep 16, 2010 at 1:23 AM, Nathan Lane <[email protected]>wrote: > I was just wondering because I was trying to come up with an elegant > solution for WatiN. For some reason their version doesn't work on IE8, but I > think I found a decent one. > > Thanks. > > Nathan > > > On Wed, Sep 15, 2010 at 4:41 PM, Ethan <[email protected]> wrote: > >> js popups are the enabled popup of the IE window in all versions of IE I >> have looked at. >> >> >> On Wed, Sep 15, 2010 at 18:36, Bret Pettichord <[email protected]>wrote: >> >>> Dunno, but i run Watir scripts that access Javascript dialogs on IE8 >>> every day and they work. >>> >>> Is there a specific problem that you are seeing? >>> >>> Bret >>> >>> On Wed, Sep 15, 2010 at 4:48 PM, Nathan Lane >>> <[email protected]>wrote: >>> >>>> It appears as though JavaScript pop-up dialogs in IE 8 are no longer >>>> children of the IE 8 window. So how does Watir know to get those dialogs? >>>> >>>> -- >>>> Nathan Lane >>>> Blog, http://blog.nathandelane.com >>>> >>>> _______________________________________________ >>>> Wtr-development mailing list >>>> [email protected] >>>> http://rubyforge.org/mailman/listinfo/wtr-development >>>> >>> >>> >>> >>> -- >>> Bret Pettichord >>> Lead Developer, Watir, www.watir.com >>> >>> Blog, www.io.com/~wazmo/blog >>> Twitter, www.twitter.com/bpettichord >>> >>> >>> _______________________________________________ >>> Wtr-development mailing list >>> [email protected] >>> http://rubyforge.org/mailman/listinfo/wtr-development >>> >> >> >> _______________________________________________ >> Wtr-development mailing list >> [email protected] >> http://rubyforge.org/mailman/listinfo/wtr-development >> > > > > -- > Nathan Lane > Blog, http://blog.nathandelane.com > > _______________________________________________ > Wtr-development mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-development > >
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
