[Webtest] [dev] right behavior for popup windows?
Marc Guillemot
webtest@lists.canoo.com
Thu, 04 Aug 2005 14:20:45 +0200
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.