[Webtest] Problem with opening a new window in canoo test

Marc Guillemot webtest@lists.canoo.com
Fri, 15 Apr 2005 16:29:20 +0200


if you don't use js but have a button to click, I guess that you have a target specified in the form. If it is 
target="_blank", current version of selectWindow won't work. If you have something like target="my2ndWindow", then you 
can use
  <selectWindow
      stepid="New Window page should be here"
      name="my2ndWindow"/>

Marc.

Maud JAMATI wrote:
> Hi Marc,
> 
> Thank you for your quick reply.
> 
> This second window is not a javascript, it is a full
> blown browser instance.  the original browser can be
> closed and it stays behind etc.  
> 
> I did try the selectWindow as well, like this
> <selectWindow
>     stepid="New Window page should be here"
>     name="Title of new window"/>
> 
> but it failed, I don't have the logs anymore, but I
> will retry it to see. Maybe you can give me more
> detailed on this syntax extension?
> 
> Cheers,
> maud