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

Reply via email to