|
From: Ahmed A. <asa...@ya...> - 2009-08-08 12:20:28
|
Hi Jason, From a user perspective, you can ignore those errors, but if you want to track it down, your efforts will be appreciated. As you know, we have a Continuous Integration server hosted here, and it is the reference for successful/failed build. Of course, 2.5 wouldn't have been released if it has such error. The problem here, is that you seem to be the only one who encountered it. Now, can you please do the following: - Grab the latest snapshot of HtmlUnit (from SVN or from here).. - Run "mvn -Dtest=DocumentTest test" (to skip all other tests). - If still there is an error, remove all tests of DocumentTest and keep only write_script(). (The order of the tests many cause unreproducible errors, and the order depends on OS/JVM/etc). Let us know the results. Thanks, Ahmed---- Blog: http://asashour.blogspot.com ________________________________ From: jason franklin-stokes <jas...@go...> To: htm...@li... Sent: Saturday, August 8, 2009 2:31:58 PM Subject: [Htmlunit-user] htmlunint test errors Hi all I just downloaded and the 2.5 zip file and compiled and then ran the mvn test with the following results...any insights on this? thanks a million for any directions. jason. Results : Tests in error: DocumentTest.write_script [IE6](com.gargoylesoftware.htmlunit.javascript.host.DocumentTest) DocumentTest.write_script [IE7](com.gargoylesoftware.htmlunit.javascript.host.DocumentTest) DocumentTest.write_script [FF2](com.gargoylesoftware.htmlunit.javascript.host.DocumentTest) DocumentTest.write_script [FF3](com.gargoylesoftware.htmlunit.javascript.host.DocumentTest) Tests run: 8771, Failures: 0, Errors: 4, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. DocumentTest.write_script [FF3](com.gargoylesoftware.htmlunit.javascript.host.DocumentTest) Time elapsed: 0.007 sec <<< ERROR! com.gargoylesoftware.htmlunit.ElementNotFoundException: elementName=[*] attributeName=[id] attributeValue=[second] DocumentTest.write_script [FF2](com.gargoylesoftware.htmlunit.javascript..host.DocumentTest) Time elapsed: 0.008 sec <<< ERROR! com.gargoylesoftware.htmlunit.ElementNotFoundException: elementName=[*] attributeName=[id] attributeValue=[second] DocumentTest.write_script [IE7](com.gargoylesoftware.htmlunit.javascript.host.DocumentTest) Time elapsed: 0.006 sec <<< ERROR! com.gargoylesoftware.htmlunit.ElementNotFoundException: elementName=[*] attributeName=[id] attributeValue=[second] DocumentTest.write_script [IE6](com.gargoylesoftware.htmlunit.javascript.host.DocumentTest) Time elapsed: 0.069 sec <<< ERROR! com.gargoylesoftware.htmlunit.ElementNotFoundException: elementName=[*] attributeName=[id] attributeValue=[second] |