wouldnt autoit use the empty title ( Microst Internet Explorer or something ) if you didnt specify a title element?
but now I realise you probably have several windows. Is there something in the winclicker that works on hwnd? Paul ----- Original Message ----- From: "Bach Le" <[EMAIL PROTECTED]> To: <wtr-general@rubyforge.org> Sent: Thursday, February 15, 2007 11:07 AM Subject: [Wtr-general] bring_to_front for window without a title > I'm writing a test for a page that does not have a title. The IE window > only has the url, however, IE.bring_to_front uses AutoIt's WinActivate > function to bring the window to front but AutoIt can only bring a window > to the front if a title is specified. Anyone know how I can do it? > > I thought about sending "Alt+Tab" until IE.front? is true but looking at > the front? code, it uses AutoIt again to check the page status via the > title so dead end again. > > P.S. This is not a page I own so I cannot simply add a title if you're > thinking about fixing it that way. > --------------------------------------------------------------------- > Posted via Jive Forums > http://forums.openqa.org/thread.jspa?threadID=6572&messageID=18736#18736 > _______________________________________________ > Wtr-general mailing list > Wtr-general@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general