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

Roma Bhansali webtest@lists.canoo.com
Tue, 6 Apr 2004 11:35:30 -0700


Hi Marc,
Thanks for the response. So does this means that I cannot use Canoo and
httpunit if we have pop up window in the application.

-Roma

-----Original Message-----
From: Marc Guillemot [mailto:mguillemot@yahoo.fr]
Sent: Tuesday, April 06, 2004 7:10 AM
To: webtest@lists.canoo.com
Subject: Re: [Webtest] Problem with opening a new window in canoo test


This is a problem due to httpunit and its limitated javascript support and
bad window handling. I guess that this would 
work better if we move to htmlunit.

Marc.

Roma Bhansali wrote:
> Hi,
> I wanted to some help with opening a new window while writing canoo test.
My
> code looks like this
> 
> <a href="CustomizeView.do?study=1" onClick="javascript:
> openCustomWin(this,'link')" ><img src="images/customize_view.gif"
alt="Click
> here to customize view" name="customize_view" width="119" height="18"
> border="0" id="customize_view"></a>
> 
> In my canoo test I m doing the following:
> 	<clicklink
> 	stepid="Click the customize view button"    
> 	label="Click here to customize view" />
> 
> This however opens the customization window but in the same window. In the
> customization window, there is button that submits the form and closes the
> window and refresh's the opener window. Now, since the customization
window
> opens within the same window, it closes the all the windows and the
session
> is over.
> 
> Is there a way I can open this customization window in a new window, so
when
> it closes it does what is required?
> 
> Appreciate help.
> 
> -Roma
> 
> 
> 
> Roma Bhansali
> Creative Director
> PharmQuest Corporation
> www.pharmquest.com
> Phone: (650)-210-3968
> Fax: (650)-210-3961
> 
> PharmQuest collaborates with the pharmaceutical and biotechnology
industries
> to provide software that significantly improves efficiency and compliance
in
> the product development process.
> 
> 
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
> 


_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest