- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 5:53 PM
Subject: Re: server restart necessary?
[snip]
Thanks Vincent,
here is some updated information regarding this. I noticed I had not
entered a servlet context for my web
- Original Message -
From: Ranjan Bagchi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 8:04 PM
Subject: Navigating Login
Thanks, Vincent and Jari for helping me get started:
I added the cactus .jar files to my regular classpath and am able to see
my .jsp
Hi Vincent --
That's a good observation: I'm trying to get the differences between HttpUnit
and Cactus sorted out, and I'm starting to come around with the notion that for
existing code, I may be stuck with HttpUnit, but for newer stuff I've got the
opportunity to design it so that Cactus can
- Original Message -
From: Ranjan Bagchi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 29, 2001 9:50 AM
Subject: Re: Navigating Login
Hi Vincent --
That's a good observation: I'm trying to get the differences between
HttpUnit
and Cactus sorted out, and I'm
Anand,
There are different kind of tests : unit tests, functional tests, acceptance
tests, system integration tests ...
It seems to me that you want to consider your login/submit process as a
black box and don't care if it works internally but rather want to test on
the resulting page. If this
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 29, 2001 2:55 PM
Subject: Re: server restart necessary?
[snip]
Your test case class (the one that extends ServletTestCase or JspTestCase)
is instanciated (class.forName().newInstance()) once on
Thanks Vincent
This is what I did with HttpUnit
* Set the parameters for page 1 like Username and Password ( Login
example )
* Simulated Submit operation and got the response object ( I use the
SubmitButton method provided by httpunit)
* But the response object still contained the first page