Anand Mohanram wrote:
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
- 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
test it.
The bit navigating login is because I'm trying to get the Request and Session
objects set up as if an actual user had logged in.. But, am I right in my belief
that that's much more of an HttpUnit thing?
Thanks again,
Ranjan Bagchi
Vincent Massol wrote:
- Original Message
- 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
: Wednesday, August 29, 2001 11:29 AM
Subject: RE: Navigating Login
Hi Vincent
As an extension to this,how do I test the Submit functionality of a page
?
I want to set parameters for various controls and I do a Submit or an
OK. I want to test whether the resulting page is displayed correctly.
Login
.
Thanks
Anand
-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Navigating Login
Anand,
There are different kind of tests : unit tests, functional tests,
acceptance
tests, system integration
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 files and (and dispatch to them).
I'm still trying to figure out how to test login: the app I'm adding
tests for wasn't exactly designed for this kind of