It was a quite good tutorial, I could start using htmlunit very easily. Now I will search for some advanced stuff or read the htmlunit API.
Just one comment: Ant build failed for me with some quite long but unuseful message. For some reason the classpath in the build file was not enough I think (I checked and corrected the file names/paths in the build file).
Solution: I added all the libraries written in htmlunit homepage (little bit more than htmlunit archive contains) to Run menu/External tools/External tools/HelloHtml build.xml/Classpath (Add external dirs) and it worked well after it.
Thanks for the Author, have a nice day and successful build for everyone.
Thank you for a very comprehensive startup guide for writing HTMLunit tests in eclipse. I also had trouble getting ant to run, but everything else was spot on.
I have a junit scratch with me,which is giving errors.I am able to run ant file through eclipse.
Can u pls suggest hw to debug the ant file and to know the flow of execution