Feature Requests item #2146687, was opened at 2008-10-04 19:51
Message generated for change (Comment added) made by henryju
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=2146687&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HtmlUnit plugin
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Rogerio Pereira Araujo (rpa_rio)
Assigned to: Nobody/Anonymous (nobody)
Summary: Update plugin dependency to htmlunit 2.3

Initial Comment:
When I try to use the jwebunit-htmlunit-plugin version 1.5 with htmltunit 1.14 
I'm always getting this error from htmltunit side:

java.lang.RuntimeException: com.gargoylesoftware.htmlunit.ScriptException: 
TypeError: Cannot read property "addEventListener" from null 
(http://localhost:8080/cadastro/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/12231420/prototype.PrototypeResourceLoader/prototype.js#1506)
        at 
net.sourceforge.jwebunit.htmlunit.HtmlUnitTestingEngineImpl.clickButton(HtmlUnitTestingEngineImpl.java:1832)
        at 
net.sourceforge.jwebunit.junit.WebTester.clickButton(WebTester.java:2358)
        at 
net.sourceforge.jwebunit.junit.WebTestCase.clickButton(WebTestCase.java:1807)

If I switch plugin dependency to htmlunit 2.3 I get this error:

java.lang.VerifyError: (class: 
net/sourceforge/jwebunit/htmlunit/HtmlUnitTestingEngineImpl, method: 
getElementByXPath signature: 
(Ljava/lang/Object;Ljava/lang/String;)Lcom/gargoylesoftware/htmlunit/html/HtmlElement;)
 Incompatible object argument for function call
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at 
net.sourceforge.jwebunit.util.TestingEngineRegistry.addTestingEngine(TestingEngineRegistry.java:69)
        at 
net.sourceforge.jwebunit.util.TestingEngineRegistry.<clinit>(TestingEngineRegistry.java:35)

Is there any plans to update plugin dependency to htmltunit 2.3?

Thanks in advance,

Rogério

----------------------------------------------------------------------

Comment By: Julien HENRY (henryju)
Date: 2008-10-29 10:33

Message:
Done with JWebUnit 2.0

----------------------------------------------------------------------

Comment By: Rogerio Pereira Araujo (rpa_rio)
Date: 2008-10-04 20:57

Message:
I downloaded and compiled jwebunit-htmlunit-plugin sources at svn trunk and
it worked as expected with htmlunit 2.3

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497985&aid=2146687&group_id=61302

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JWebUnit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to