Thanks for the article.  Something about the update from 4.1.18 to 4.1.29
caused my cookie test javascript to give inconsistent feedback in the
HttpUnit javascript.  I tried another algorithm and worked past the error.

BTW for you test junkies, if you used web.xml <error-page><error-code> to
trap http errors and return a different page, tomcat 4.1.18 doesn't pass on
the http error with the page redirect while 4.1.29 does.  Tests of pages
which take advantage of those automatic redirects will start failing when
you do an upgrade.

Thanks again.

Edgar

-----Original Message-----
From: Ted Husted [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 10:44 PM
To: Struts Users Mailing List
Subject: Re: [OT] Canoe Webtest / HttpUnit


I use WebTest a lot. I think you have turn cookies on via the HttpUnit
config.

http://lists.canoo.com/pipermail/webtest/2003q2/000735.html

-Ted.

On Wed, 07 Jan 2004 22:28:10 -0500, Edgar P Dollin wrote:
> I have been struggling with these two testing tools for a while now
> attempting to retrofit http tests over an existing working
> application.
>
> JavaScript has been a bear, stuff that works on Mozilla and IE
> breaks in HttpUnit (not that the review didn't turn up myriads of
> errors).  Repairing the scripts has really strengthened the code.
>
> I know that others on this list use Canoe Webtest.  It is much
> nicer writing Webtest scripts than HttpUnit java code.
>
> However, I am ready to give up on WebTest, but before I do would
> like to hear if others have had similar problems.  The issue I
> can't seem get around is that my site requires cookies.  I have a
> hidden field and some javascript to test if cookies are enabled and
> value the hidden field.  Webtest won't value the field and won't
> let me set the value of the field.  Additionally, this issue
> cropped up when I upgraded from Tomcat 4.1.18 to 4.1.29.
>
> Any insight is welcome.
>
>
> Thanks.
>
>
> Edgar
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com). Version:
> 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
>
>
> --------------------------------------------------------------------
> - To unsubscribe, e-mail: struts-user-
> [EMAIL PROTECTED] For additional commands, e-mail:
> [EMAIL PROTECTED]




---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to