- Use cache for all kinds of (cacheable) content
- Fix many issues with (de)serialization
- Add a mechanism to save the complete page along with images
- Add support for Proxy Auto-Config
- Better support for XHTML pages
- And as usual, various bug fixes
-
HtmlUnit 2.6, a headless java browser, released (8 messages)
- Posted by: Ahmed Ashour
- Posted on: September 04 2009 09:10 EDT
A new release of the Open Source java GUI-Less browser is available, which allows high-level manipulation of web pages, such as filling forms, clicking links, accessing attributes and values of specific elements within the pages, you do not have to create lower-level requests of TCP/IP or HTTP, but just getPage(url), find a hyperlink, click() and you have all the HTML, JavaScript, and Ajax are automatically processed. The most common use of HtmlUnit is test automation of web pages (even with complex JavaScript libraries, like jQuery and Google Web Toolkit), but it can also be used for web scraping, or downloading website content. The main enhancements of this release:Threaded Messages (8)
- Good for GWT, YUI and other testing by Frank Cohen on September 04 2009 11:01 EDT
- Re: HtmlUnit 2.6, a headless java browser, released by Casual Visitor on September 05 2009 06:37 EDT
- Re: HtmlUnit 2.6, a headless java browser, released by Ahmed Ashour on September 05 2009 07:43 EDT
- Scripting language versus Java? Why? by Frank Cohen on September 09 2009 00:23 EDT
-
Re: Scripting language versus Java? Why? by Casual Visitor on September 09 2009 03:54 EDT
- Re: Scripting language versus Java? Why? by Stan Silvert on September 10 2009 07:47 EDT
-
Re: Scripting language versus Java? Why? by Casual Visitor on September 09 2009 03:54 EDT
- Re: HtmlUnit 2.6, a headless java browser, released by William Martinez on September 09 2009 09:28 EDT
- Re: HtmlUnit 2.6, a headless java browser, released by Pratik Machchar on September 10 2009 05:14 EDT
-
Good for GWT, YUI and other testing[ Go to top ]
- Posted by: Frank Cohen
- Posted on: September 04 2009 11:01 EDT
- in response to Ahmed Ashour
Congratulations HtmlUnit team on the new release. One thing that needs saying: HtmlUnit is very good for testing Ajax applications. Since 2.4 it has passed the GWT, YUI and other validation test suites. We're hosting a set of meet-ups on HtmlUnit, Selenium, and other open source test frameworks. Details are at http://workshop.pushtotest.com. We will be in Prague next Friday, followed by Brussels, London and Paris. -Frank Cohen http://www.pushtotest.com -
Re: HtmlUnit 2.6, a headless java browser, released[ Go to top ]
- Posted by: Casual Visitor
- Posted on: September 05 2009 06:37 EDT
- in response to Ahmed Ashour
Looks good. But the tests should be written in a Scripting language (Groovy?), not Java. -
Re: HtmlUnit 2.6, a headless java browser, released[ Go to top ]
- Posted by: Ahmed Ashour
- Posted on: September 05 2009 07:43 EDT
- in response to Casual Visitor
Looks good. But the tests should be written in a Scripting language (Groovy?), not Java.
Have a look at WebTest, you can use XML or Groovy. -
Scripting language versus Java? Why?[ Go to top ]
- Posted by: Frank Cohen
- Posted on: September 09 2009 00:23 EDT
- in response to Casual Visitor
Looks good. But the tests should be written in a Scripting language (Groovy?), not Java.
Why? In my experience, HtmlUnit has worked well when used from Java and Jython (and anything else that instantiates Java classes.) And HtmlUnit also works well for test utility interpreters. For example, we wrote a ScriptRunner (SeleniumHtmlUnit) for Selenium that interprets the Selenese table format and uses HtmlUnit to communicate to the application. I don't see why you would ask someone to make a choice? -Frank Cohen http://www.pushtotest.com -
Re: Scripting language versus Java? Why?[ Go to top ]
- Posted by: Casual Visitor
- Posted on: September 09 2009 15:54 EDT
- in response to Frank Cohen
For the same reasons Web-pages are usually written in s Scripting language (even JSP) and not Java.Looks good. But the tests should be written in a Scripting language (Groovy?), not Java.
Why? -
Re: Scripting language versus Java? Why?[ Go to top ]
- Posted by: Stan Silvert
- Posted on: September 10 2009 07:47 EDT
- in response to Casual Visitor
Since when is JSP a scripting language? That last comment made even less sense than the first. Java is just great for writing tests. Scripting languages are OK too. Congrats on the HtmlUnit release. It is indeed a great tool and I'm glad to have it as an integral part of the JSFUnit project. Stan Silvert www.jsfunit.orgLooks good. But the tests should be written in a Scripting language (Groovy?), not Java.
Why?
For the same reasons Web-pages are usually written in s Scripting language (even JSP) and not Java. -
Re: HtmlUnit 2.6, a headless java browser, released[ Go to top ]
- Posted by: William Martinez
- Posted on: September 09 2009 09:28 EDT
- in response to Casual Visitor
Looks good. But the tests should be written in a Scripting language (Groovy?), not Java.
Well, this sounds nonsense. Can you explain why the test SHOULD be written in scripting languages, or why is Java not a good language to write tests? WIlliam Martinez Pomares -
Re: HtmlUnit 2.6, a headless java browser, released[ Go to top ]
- Posted by: Pratik Machchar
- Posted on: September 10 2009 05:14 EDT
- in response to Ahmed Ashour
HtmlUnit is great tool. We use it extensively for our Web data Extraction products and services. Thanks for wonderful tool.