Low-Maintenance Selenium RC Web App Test Code
In my rank procedural coding days, I might have written through-the-web-app-GUI test code that looks like this (we’re using TestNG here, though at first it may look like Junit 4): @Test public void canCreateRightTriangle() throws Exception { //selenium setup SeleniumServer jettyProxy = new SeleniumServer(); jettyProxy.start(); DefaultSelenium selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://www.google.com"); selenium.start(); selenium.setSpeed("0"); [...]