Jeanne Boyarsky wrote:Rohan,
There is an example in the quick start on the jwebunit site. I see two problems in yours:
1) It isn't being run as a unit test. JWebUnit is intended to be run by JUnit not as a main method.
2) You should add the @Before/@Test annotations rather than having prepare call your test. JWebUnit is assuming you are using standard junit (see item #1) and may not work if you call things directly.
ok, i will start learning about JUnit first , and then i will come back to this problem.
Thanks for clarifying , also i wanted to ask one more thing , does httpUnit work the same way, also how do you learn these things from documentation itself as no other resources are available.
author & internet detective