On Tue, 29 Jan 2008, Roberto Fasciolo wrote:
> Basically, my problem is that I can access the ModalWindow using:
> selenium.selectWindow("modal-dialog-pagemap");
> 
> but I can't verify if the window has been fully loaded or not, I've tried
> with:
> selenium.waitForPopUp("modal-dialog-pagemap", "30000");
> 
> but it fails all the time with exception message "Window not found".

Hmm, aren't the ModalWindows Echo2-like Ajax constructions
instead of real popups?

Try waitForCondition with a suitable Javascript scriptlet.
Googling "ajax selenium testing" should bring some hints on
that, I think that in Grig Gheorghiu's blog there was
something handy on that a year or two ago.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to