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

Oster Nathan webtest@lists.canoo.com
Tue, 6 Apr 2004 11:51:02 -0400


Marc,

Is there any way to simulate opening a new window at all?  

Nate
-----Original Message-----
From: webtest-admin@gate2.canoo.com
[mailto:webtest-admin@gate2.canoo.com] On Behalf Of Marc Guillemot
Sent: Tuesday, April 06, 2004 10:10 AM
To: webtest@gate2.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