File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JUNIT to test a web application
Joined: May 12, 2012
Sep 06, 2012 03:00:23
Is there a way to
the web application(My application uses
) starting from Presenatation layer to DAO layer with
If there is a method, please provide a sample script
author & internet detective
Joined: May 26, 2003
Sep 06, 2012 20:25:11
Ant would just run the
test so the Ant part isn't important to the question. There are two main approaches.
Test in browser - selenium is most common. It offers a junit interface but you need a browser installed
Test from URL but without browser - JWebUnit is good here
Forget about the URL and start at the servlet/struts action/spring controller/etc. - Here you can just use JUnit in container
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: JUNIT to test a web application
static method or non-static method?
How to design session layer?
Using Transport Security (SSL) in Web Service (CalulatorApp)
About Layer - SOAP
how to test struts with Junit
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014