[15 total ]
2009 JavaOne HtmlUnit technical session online content

HtmlUnit is a pure java GUI-Less browser, 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 ... [More] 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, but sometimes it can be used for web scraping, or downloading website content.

2009 JavaOne conference website now has the online version of the technical session "HtmlUnit: An Efficient Approach to Testing Web Applications
TS-4238"

You can view it at http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-4238&yr=2009&track=soa (0 comments) [Less]

HtmlUnit 2.5, a headless java browser, released

A new release of the GUI-Less java 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 ... [More] 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 sometimes it can be used for web scraping, or downloading website content.

The main enhancements of this release:
- Improved JavaScript support, particularly full support for MooTools, adding to already supported Google Web Toolkit, jQuery, Mochikit and Sarissa
- Repackaged Rhino classes to allow the use of HtmlUnit and a regular Rhino version in the same project
- Support all HTML elements
- Experimental WebClient.waitForBackgroundJavaScript() and WebClient.waitForBackgroundJavaScriptStartingBefore() for simple, fast and deterministic AJAX testing
- Reworked handling of background JavaScript tasks using Java 5 executors
- And as usual, various bug fixes

You can find more information in the official website (http://htmlunit.sourceforge.net/), the development team is looking forward to getting your feedback. (0 comments) [Less]

HtmlUnit in JavaOne

HtmlUnit is a pure java GUI-Less browser, 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 ... [More] 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, but sometimes it can be used for web scraping, or downloading website content.

2009 JavaOne, the biggest Java conference in San Francisco (May 31 - June 05), is going to include a session titled "HtmlUnit: An Efficient Approach to Testing Web Applications", presented by committers Daniel Gredler and Ahmed Ashour.

Attendees will learn about
- The two approaches to Web app integration testing: browser simulation and browser driving
- The cons of the browser simulation approach
- The pros of the browser simulation approach
- Key extension points provided by HtmlUnit
- Wrappers that enable you to hedge your bets and switch between the two approaches

More information can be found in http://java.sun.com/javaone/2009/sessions.jsp (0 comments) [Less]

HtmlUnit: implementation charts of the latest snapshot

HtmlUnit is a pure java GUI-Less browser, 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 ... [More] 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, but sometimes it can be used for web scraping, or downloading website content.

JavaScript support is one of the powerful features of HtmlUnit, to the extent that all tests pass of complex JavaScript libraries like jQuery, Google Web Toolkit, MochiKit and Sarissa.

Still frequently it is asked: "it works for many sites, but not always identical to the real browsers, so how similar is it compared to mine?"

There is a Continuous Integration process which provides the latest snapshot and now it also gives detailed information about which properties or methods that are implemented, missing, or incorrectly added. The reports are individually made for the supported browsers, namely Internet Explorer 6/7, and Firefox 2/3.

You can view the charts and the web reports in the 'Build Artifacts' area of the Cruise Control server at http://build.canoo.com/htmlunit, which always includes the latest snapshot after each commit.

The main website (http://htmlunit.sourceforge.net/) has more information about the project, the development team is looking forward for getting your feedback. (0 comments) [Less]

HtmlUnit: All HTML elements are now included in HtmlUnit

HtmlUnit is a "browser for Java programs". It models HTML documents and provides an API that allows you to invoke pages, fill out forms, click links, etc... just like you do in your "normal" browser.

In SVN version ... [More] , HtmlUnit has recently added all HTML elements (some are rarely used), which may have some backward compatibility effect in the next version 2.5

For example, <b> was evaluated to HtmlUnknownElement, but now will be HtmlBold.

The complete list includes: HtmlAbbreviated, HtmlAcronym, HtmlBackgroundSound, HtmlBig, HtmlBlink, HtmlBold, HtmlCitation, HtmlCode, HtmlDefinition, HtmlEmphasis, HtmlExample, HtmlItalic, HtmlKeyboard, HtmlListing, HtmlMarquee, HtmlMultiColumn, HtmlNoBreak, HtmlNoEmbed, HtmlPlainText, HtmlS, HtmlSample, HtmlSmall, HtmlSpacer, HtmlStrike, HtmlStrong, HtmlSubscript, HtmlSuperscript, HtmlTeletype, HtmlUnderlined and HtmlVariable.

Feel free to get latest snapshot from http://build.canoo.com/htmlunit/artifacts

Enjoy testing! (0 comments) [Less]

Two sessions in TheServerSide Java Symposium

It is now official, HtmlUnit will be in two sessions in the TheServerSide Java Symposium this year.

Marc Guillemot and Daniel Gredler are going to co-present "HtmlUnit: An Efficient Approach to Testing Web Applications", which will ... [More] teach you:
- How to efficiently automate the testing of Web apps with HtmlUnit
- The benefits and limitations of HtmlUnit
- Why HtmlUnit can be far more efficient than testing in a "real" browser.

In addition, Frank Cohen will present "Meet-Up for Selenium, soapUI, HtmlUnit and Other Test Tools", which will explore:
- Open source tools available to rapidly build and test Ajax, RIAs, and SOA
- The capabilities of Selenium, soapUI, TestGen4Web, HtmlUnit, TestMaker and other open source test software
- Methodology and techniques for using open source software as a more affordable and flexible option in the enterprise.

More information can be found in http://javasymposium.techtarget.com/html/tools_tech.html (0 comments) [Less]

HtmlUnit 2.4, a headless java browser, released

A new release of the GUI-Less java 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 ... [More] 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 sometimes it can be used for web scraping, or downloading website content.

The main enhancements:
- Improved JavaScript support, now all jQuery and Mochikit tests pass, adding to already supported GWT and Sarissa
- Native ActiveX support
- Initial applets handling
- Support for Internet Explorer conditional comments
- And as usual, various bug fixes

You can find more information in the official website (http://htmlunit.sourceforge.net/), the development team is looking forward to getting your feedback. (0 comments) [Less]

HtmlUnit-1.1 final released

This is the first official release with JavaScript support. Because adding a reasonable level of JavaScript support was such a large effort, this release has been a long time coming. Future releases will likely contain smaller chunks of functionality and will therefore be released more frequently. (0 comments)

HtmlUnit-1.1-rc2 released

The second release candidate for HtmlUnit-1.1 has been released. (0 comments)

HtmlUnit 1.1 Release Candidate released

The original goal of the 1.1 release was to implement the parts of javascript support that are used most frequently. We've reached that goal. There is still a lot to do wrt javascript support but there is enough there to have a production ... [More] release.

Assuming no show-stopper bugs are found, this release candidate will become 1.1 final. (0 comments) [Less]