I have written a JIRA for this issue it is titled: "WebClient.setIgnoreOutsideContent should default to false to allow poorly formed pages to load correctly". So I think if you can find some way to set WebClient.setIgnoreOutsideContent(false) then it should work.
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harihara Vinayakaram Sent: Tuesday, June 03, 2008 9:51 PM To: [email protected]; Noam Aigerman Subject: Re: [Webtest] setInputField fails for no reason This typically happens if you have multiple <html> and </html> tags in the page . The webtest / htmlunit documentation says it should be forgiven and it should work but I have not been able to get it to work yet. Regards Hari On Wed, Jun 4, 2008 at 3:39 AM, Noam Aigerman <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: I have a simple test that has two steps: <invoke http://some<http://some/>.url/> <setInputField name="new_url" value="http://www.urlo.com"/> The test fails on error "No suitable form found having field named "new_url"" , but when I check the page received in the results, sure enough it has the line: <td colspan="2" style="padding-left: 5px;"><input type=text name="new_url" size=80></td></tr> Why doesn't canoo find the Input fielf by it's name? Thanks, Noam

