[Webtest] Problem with opening a new window in canoo test
Oster Nathan
webtest@lists.canoo.com
Wed, 28 Apr 2004 11:48:21 -0400
Marc,
Is there any plan to support HTMLUnit with WebTest? HTMLUnit seems to
be a much cleaner implementation of how a browser interacts with a web
app, including (ostensibly) excellent javascript support.
For many teams, using HTMLUnit alone requires testers with Java
expertise, while WebTest offers a clean and less-technical solution.
Further, WebTest adds easy properties manipulation and reporting.
It would be great to see WebTest support the option of using either
HTTPUnit or HTMLUnit. I think full Javascript support would really
catapult WebTest use on larger scale, javascript intensive applications.
Any thoughts from the group?
Thanks,
Nate
-----Original Message-----
From: webtest-admin@gate2.canoo.com
[mailto:webtest-admin@gate2.canoo.com] On Behalf Of Marc Guillemot
Sent: Thursday, April 08, 2004 4:36 PM
To: webtest@gate2.canoo.com
Subject: Re: [Webtest] Problem with opening a new window in canoo test
Hi Roma,
as far as I know, currently, you can't. I face the same problem with our
application.
Marc.
Roma Bhansali wrote:
> 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
> _______________________________________________
> 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