2010-04-01から1ヶ月間の記事一覧
webページダイアログなど、モーダルダイアログのテストの仕方 new Thread(new Runnable() { public void run() { try { ie.button("Launch Dialog").click(); } catch (Exception e) { e.printStackTrace(); } } }).start(); ModalDialog modalDialog = ie.m…
import static watij.finders.SymbolFactory.*; import junit.framework.TestCase; import watij.runtime.ie.IE; public class GoogleTest extends TestCase { public void testGoogleSearch() throws Exception{ IE ie = new IE(); ie.start("http://www.go…