Hi Mudassir, replacing the jar this way works only when no incompatible API changes occured. It seems that it's not the case anymore.
I hope that next HtmlUnit release will be ready this week or next week. Then I will quickly integrate it in WebTest. Marc. Mohammed Mudassir-2 wrote: > > Hi marc, > > I have taken the latest build from htmlunit (HtmlUnit-20070729.0811.jar), > the earlier error is not coming and now i am getting different error. > > java.lang.NoSuchMethodError: > com.gargoylesoftware.htmlunit.html.HtmlForm.getAllHtmlChildElements()Lcom/gargoylesoftware/htmlunit/html/DomNode$DescendantElementsIterator; > at > com.canoo.webtest.steps.request.ClickButton.findNormalButton(ClickButton.java:346) > at > com.canoo.webtest.steps.request.ClickButton.findButton(ClickButton.java:265) > at > com.canoo.webtest.steps.request.ClickButton.findClickableElementByAttribute(ClickButton.java:135) > at > com.canoo.webtest.steps.request.AbstractIdOrLabelTarget.findClickableElement(AbstractIdOrLabelTarget.java:82) > at > com.canoo.webtest.steps.request.ClickButton.findTarget(ClickButton.java:145) > at > com.canoo.webtest.steps.request.AbstractTargetAction$1.call(AbstractTargetAction.java:108) > > Regards, > Mudassir > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Marc Guillemot > Sent: Friday, July 27, 2007 10:19 PM > To: [email protected] > Subject: Re: [Webtest] ClickButton : Javascript Error > > > Mohammed Mudassir wrote: >> Hi marc, >> >> Thanx for the support. >> I have attached s_code.js for the analysis. In the mean time I would try >> to simulate on firefox. > > in fact the support for conditional compilation was limited and couldn't > understand @if statements. > In the mean time this has been added. Can you test with the latest build > of htmlunit? > > Marc. > -- > Blog: http://mguillem.wordpress.com > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > > -- View this message in context: http://www.nabble.com/Trouble-installing-webtest-tf4128789.html#a11918836 Sent from the WebTest mailing list archive at Nabble.com. _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

