2 messages in com.canoo.lists.webtest[Webtest] [dev] right behavior for po...
FromSent OnAttachments
Marc Guillemot04 Aug 2005 05:20 
Paul King04 Aug 2005 07:25 
Subject:[Webtest] [dev] right behavior for popup windows?
From:Marc Guillemot (mgui@yahoo.fr)
Date:08/04/2005 05:20:23 AM
List:com.canoo.lists.webtest

Hi,

I'm working on changing the logic of "how to determine the current window" to
better handle multiple windows (like popups).

I wanted to make a window that pops up the "current" window, because I think
that it "better" represent what is "natural": in a browser, when a window pops up, it is the one on which we have
to do something. Further reason: imagine an application that opens a popup without giving it a name. How to "select" the
just opened window in this case?

I'm testing this new behavior but have one failing test because it doesn't
expect that the popuped window became the current one

selectWindow.xml:

<invoke description="try the popup" url="selectWindowMain.html"/> <verifyTitle text="SelectWindow Main Page"/>

and selectWindowMain.html directly opens a new window when loaded.

Ok to change this selftest?

Marc.