Skip to content

Latest commit

 

History

History
127 lines (80 loc) · 5.63 KB

ui-test.adoc

File metadata and controls

127 lines (80 loc) · 5.63 KB

Web page test

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

[ Selenium 웹서비스 테스트 자동화와는 별 상관없는 작업을 위해…​]

[ Selenium Selenium RC 를 사용해보자. I]

[ Selenium Selenium RC 를 사용해보자. II]