Hi,

which version of WebTest do you use? WebTest contains HtmlUnit 1.11 since it
has been released but it seems that you use it with an older build what
explains the incompatibility.

More generally: it's sometimes possible to replace the HtmlUnit version used
in WebTest by a newer one but there is no assurance. It depends of the
changes in the API used by WebTest.

Marc.


My acc wrote:
> 
> Hi,
> 
> With Htmlunit 1.11, using 'setInputField' is generating following error:
> java.lang.NoSuchMethodError:
> com.gargoylesoftware.htmlunit.html.HtmlInput.setValueAttribute(Ljava/lang/String;)V
> 
> <setInputField description="Enter Name" htmlId="fname-a1" value="xyz"/>
> 
> Also tried with 'name', same results...
> <setInputField description="Enter Name" name="fname" value="xyz"/>
> 
> Any idea how can this be fixed?
> Note: With Htmlunit 1.8 it was working fine....
> 
> Thanks
> Acc Mera
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 
> 

-- 
View this message in context: 
http://www.nabble.com/%27setInputField%27-of-WebTest-generating-error-with-Htmlunit-1.11-tf4038983.html#a11497308
Sent from the WebTest mailing list archive at Nabble.com.

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to