• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTMLUNIT  RSS feed

 
Jimmy Bua
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys I'm new to this board and to java programming. I have a question, I'm wanting to use HtmlUnit for my prog but don't really understand how to get it working.. The example from the website doesn't make any sense as there isn't anything getting imported nor does it declare anything..


I have tried to find some tutorials that explain it better but I haven't really seen any. Thanks in advanced!
 
fred rosenberger
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when you say "the website" - what website would that be?
 
Paul Clapham
Sheriff
Posts: 22844
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suspect that the people (whoever they are) who posted that example assumed that it would be used by somebody who knew the basics of Java programming. It's meant to help you learn about HtmlUnit, not to help you learn Java. So if you were hoping to use it to teach yourself basic things like importing of classes and so on, you're going in the wrong direction. I would suggest you start with The Java™ Tutorials and work your way through that instead.
 
Knute Snortum
Sheriff
Posts: 4289
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Jimmy.

Remember to always QuoteYourSources. We want to know where that code came from. It will help us answer your question.

Goggling "HtmlUnit Tutorial" brings up this. Is this your source? This website assumes you are an experienced programmer and that you know JUnit. Tell us why you want to learn HtmlUnit?
 
Jimmy Bua
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys! Yes that is the source. I'll take some more time and read through the getting started. I guess the example is also using Junit. I'm going to play around with it tonight and see how it goes.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!