• Post Reply Bookmark Topic Watch Topic
  • New Topic

Junit test script for JSP

 
pankajjj jain
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody send me or show how I can test a simple JSP i.e. without custom tag.
I didnot find any sample JUnit test script

Have any body worked on Cactus to test Jsp


Pankaj Jain
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One of the best reasons for moving your code out of JSPs into Model beans is that, in doing so, you make it easy to write simple command line tests that can be run from products like JUnit.

That being said, it's still nice to be able to test the actual pages.

There is also a Firefox plugin called SeleniumRecorder which allows you to tests webforms (Again, I haven't tried it yet but it's on my todo list).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!