[Webtest] Close window

Marc Guillemot webtest@lists.canoo.com
Fri, 12 May 2006 15:15:41 +0200

Hi Philippe,

there is currently no built-in step to do this but you can try something



Philippe Schoch wrote:
> Hi,
> is at the moment possible to close a (browser/popup)window in webtest?
> I have the problem that I cannot select the main window (with the
> selectWindow step) after testing the other window. I just assumed the
> title will be the name for the selectWindow step. But it must be
> something else as my error message says there are two nameless windows
> around....
> Test step selectWindow named "select the original window" failed with
> message "Step[selectWindow "select the original window" (13/13)] Window
> not found with name: TelcoBill available: [TopLevelWindow[name=""],
> TopLevelWindow[name=""]]"
> So is it possible to get back to my original window with a webtest step?
> greets,
> Philippe
> PS: I don't get any mails from webtest since 6.5.06 morning??!!??