WebResponse nextPage;http://www.coderanch.com/t/448202/Testing/HttpUnit-Ajax-enabled-submit-buttons
WebForm form = webResponse.getForms()[0]; //select first form in page
//initialize WebConversations and Responses
nextPage = webConversation.getResponse(ADDRESS);
nextPageForm = webResponse.getForms()[0];
nextPage = form.submit(form.getSubmitButtonWithID("buttonNextPage"));
nextPageForm = nextPage.getForms()[0];
SubmitButton btn = form.getSubmitButtonWithID("btnMove");https://svn.strategoxt.org/repos/gw/tags/gw-2004-2005/src/tests/gw/functional/FunctionalTest.java
btn.click();
WebResponse result = conversation.getCurrentPage();
System.out.println("OK");
・Javadoc
http://www.docjar.org/docs/api/com/meterware/httpunit/WebForm.html
[コメントが多かった順の記事]
・人の心理の裏をかくホームページ集客術:リピータになってもらうためには(233)
・ホームページ心理学第2弾「メールの書きだしとホームページ運営・集客の関係」(76)
・娘が生まれた(69)
・ゲームと言えば、何を思い出す? (50)
・Microsoftからアクセス (30)
・「目標の立て方」と「努力」と「実行力」(26)
最近のコメント