concept web browser in category java

appears as: web browser, web browser, web browsers, web browsers
JUnit in Action

This is an excerpt from Manning's book JUnit in Action.

Black-box tests are more difficult to write and run[6] because they usually deal with a graphical frontend, whether it’s a web browser or desktop application. Another issue is that a valid result on the screen does not always mean that the application is correct. White-box tests usually are usually easier to write and run than black-box tests, but the developers must implement them.

HtmlUnit (http://htmlunit.sourceforge.net/) is an open source Java headless browser framework. It allows tests to imitate the user of a browser-based web application programmatically. HtmlUnit JUnit 5 tests do not display a user interface. In the remainder of this section, when we talk about “testing with a web browser,” it is with the understanding that we are really testing by emulating a specific web browser.

GWT in Practice

This is an excerpt from Manning's book GWT in Practice.

Figure 1.1. An overview of the GWT approach. Java source code is compiled into JavaScript, which is then run in a web browser as JavaScript/HTML/CSS.