[Httpunit-commit] CVS: httpunit/sitedocs/doc faq.xml,1.4,1.5
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2004-02-12 17:43:47
|
Update of /cvsroot/httpunit/httpunit/sitedocs/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23141/sitedocs/doc Modified Files: faq.xml Log Message: add Button.click question to FAQ Index: faq.xml =================================================================== RCS file: /cvsroot/httpunit/httpunit/sitedocs/doc/faq.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- faq.xml 12 Feb 2004 13:03:24 -0000 1.4 +++ faq.xml 12 Feb 2004 17:38:44 -0000 1.5 @@ -51,7 +51,7 @@ <answer>Badly. Unfortunately, through JDK 1.3, HttpURLConnection (used by HttpUnit to access web servers) has no support for timeouts. Supposedly, this is changed in JDK 1.4, but HttpUnit does not support the new feature as yet.</answer> </faq> - <faq> + <faq id="rejected cookies"> <question>Why isn't HttpUnit seeing cookies from my site?</question> <answer><![CDATA[According to the <a href="http://www.faqs.org/rfcs/rfc2965.html">Cookie specification>/a>, sites may specify a domain and path to restrict the scope of their cookies. These specifications @@ -91,6 +91,14 @@ the underlying value in the form. This will behave the way JavaScript does - resetting the form will now restore this value, rather than the original one.</li></ul>]]></answer> </faq> + <faq id="button click"> + <question>How do I get the response when I click a button?</question> + <answer><![CDATA[When you call Button.click, a number of things can happen, depending on the definition of the button. + Unfortunately, it is then impossible to predict what, if any, response is relevant. The method therefore + does not return WebResponse. In most cases, it is the main window of your browser that you care about + and you can always obtain that by calling + <a href="api/com/meterware/httpunit/WebClient.html#getCurrentPage()"><code>client.getCurrentPage()</code></a>.]]</answer> + </faq> </section> <section title="JavaScript support"> |