Popups again!

View: New views
1 Messages — Rating Filter:   Alert me  

Popups again!

by George.Francis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I know that many questions along this theme have been asked previously, but here is my specific case:
I'm running Java selenium tests by inheriting from SeleneseTestCase.  IE7 on WinXP.
In this one test, the framework 'clicks on' a link that invokes a popup window (by submitting a form whose target is _blank).  I have put a call to pause() so Selenium waits 30 seconds for the popup window to appear, and it's contents initialise.  I have observed this occurring.  The problem is that after that pause, when the test calls:
selenium.getAllWindowTitles()
it only returns only one element - the title of the original IE window, not the popup.  I have no way to refer to the popup window to validate it's content.
Please advise if there's another approach I can take to 'refer to' the popup window.  I need this test to run on IE.
Thanks,