ui test

Edit

Broswer

Web page test

HTTPUnit

HTMLUnit

jwebunit

public class HttpUnitTest {
    public static void main(String[] args) {
        try {
            WebConversation wc = new WebConversation();
            WebRequest request = new GetMethodWebRequest("http://httpunit.sourceforge.net/index.html");
            wc.setProxyServer("your.proxy.com", 80);
            WebResponse response = wc.getResponse(request);
            WebLink httpunitLink = response.getFirstMatchingLink(WebLink.MATCH_CONTAINED_TEXT, "Cookbook");
            response = httpunitLink.click();
            System.out.println("Test successful !!");
        } catch (Exception e) {
            System.err.println("Exception: " + e);
        }
    }
}

Selenium

Watij

Web driver

Cacus

Cargo

FIT

기타

사례