Cover by Gary Gregory, Vincent Massol, Felipe Leme, Petar Tahchiev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O'Reilly logo

Chapter 12. Presentation-layer testing

If debugging is the process of removing software bugs, then programming must be the process of putting them in.

Edsger Dijkstra

This chapter covers

  • Introducing presentation-layer testing
  • Testing with HtmlUnit
  • Testing with Selenium

Simply stated, presentation-layer testing means finding bugs in the graphical user interface (GUI) of an application. Finding errors here is as important as finding errors in other application tiers. A bad user experience can cost you a customer or discourage a web surfer from visiting your site again. Furthermore, bugs in the user interface may cause other parts of the application to malfunction.

Because of its nature and interaction with a person, GUI testing presents ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required