Test Driving business and persistence logic has been proven to be an effective technique for incremental design, reduced complexity, and easy automated regression testing. Many teams struggle with how to achieve these same benefits for User Interfaces. The traditional notion is that a UI is too fragile and hard to test until it is already built.
This session will consist of a brief explanation of the Page Object pattern, followed by a live coding demo showing the integration of Cucumber-JVM with Selenium via Page Objects. Code is available at https://github.com/nhajratw/test-driving-user-interfaces