Problem with jQuery and HtmlUnit 2.4

View: New views
17 Messages — Rating Filter:   Alert me  

Problem with jQuery and HtmlUnit 2.4

by Marc Palmer Local :: Rate this Message:

| View Threaded | Show Only this Message

Hi guys,

I had some users complain that the Functional Testing plugin for  
Grails was spewing JS errors when trying to test jQuery code.

I knocked up a trivial test, and found exactly the same problem as the  
users.

The HTML being loaded is as follows:

<html>
<head>
        <script src="jquery-1.3.1.min.js" type="text/javascript"/>
        <script type="text/javascript">
        $(document).ready(function(){
                $('#message').append(' World')
        });
        </script>
</head>
<body>
       
        <p id="message">Hello</p>
</body>
</html>

... and this problem happens during the loading of the response in  
HtmlUnit. The trace is below. Any clues for me? Thanks.

<error message="TypeError: Cannot find function createComment in  
object [object]. (FunctionalTestCase.groovy#372)"  
type="com.gargoylesoftware.htmlunit.ScriptException">======= EXCEPTION  
START ========
EcmaError: lineNumber=[372] column=[0] lineSource=[<no source>]  
name=[TypeError] sourceName=[FunctionalTestCase.groovy]  
message=[TypeError: Cannot find function createComment in object  
[object]. (FunctionalTestCase.groovy#372)]
com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot find  
function createComment in object [object].  
(FunctionalTestCase.groovy#372)
        at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine
$HtmlUnitContextAction.run(JavaScriptEngine.java:513)
        at org.mozilla.javascript.Context.call(Context.java:515)
        at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
        at  
com
.gargoylesoftware
.htmlunit.javascript.JavaScriptEngine.execute(JavaScriptEngine.java:412)
        at  
com
.gargoylesoftware
.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:1004)
        at  
com
.gargoylesoftware
.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:358)
        at com.gargoylesoftware.htmlunit.html.HtmlScript
$1.execute(HtmlScript.java:212)
        at  
com
.gargoylesoftware
.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:238)
        at com.gargoylesoftware.htmlunit.html.HTMLParser
$HtmlUnitDOMBuilder.endElement(HTMLParser.java:569)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown  
Source)
        at com.gargoylesoftware.htmlunit.html.HTMLParser
$HtmlUnitDOMBuilder.endElement(HTMLParser.java:523)
        at  
org.cyberneko.html.filters.DefaultFilter.endElement(DefaultFilter.java:
210)
        at  
org
.cyberneko
.html.filters.NamespaceBinder.endElement(NamespaceBinder.java:329)
        at  
org.cyberneko.html.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:
986)
        at org.cyberneko.html.HTMLTagBalancer.endElement(HTMLTagBalancer.java:
889)
        at org.cyberneko.html.HTMLScanner
$ContentScanner.scanEndElement(HTMLScanner.java:2998)
        at org.cyberneko.html.HTMLScanner
$ContentScanner.scan(HTMLScanner.java:1993)
        at org.cyberneko.html.HTMLScanner.scanDocument(HTMLScanner.java:910)
        at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:
499)
        at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:
452)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at com.gargoylesoftware.htmlunit.html.HTMLParser
$HtmlUnitDOMBuilder.parse(HTMLParser.java:771)
        at  
com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:252)
        at  
com
.gargoylesoftware
.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:127)
        at  
com
.gargoylesoftware
.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:101)
        at  
com
.gargoylesoftware
.htmlunit.WebClient.loadWebResponseInto(WebClient.java:439)

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Marc Palmer Local :: Rate this Message:

| View Threaded | Show Only this Message


On 10 Feb 2009, at 11:10, Marc Palmer wrote:

> Hi guys,
>
> I had some users complain that the Functional Testing plugin for
> Grails was spewing JS errors when trying to test jQuery code.
>
> I knocked up a trivial test, and found exactly the same problem as the
> users.

FYI it seems the JS parser is spewing on:

document.createComment("")

Within the jQuery source. Is this method supported at all by HtmlUnit  
- perhaps with a different browser emulation (am running with default  
currently().

If not, is there a way we can augment the JS functions available on  
"document" from within our test framework so that HtmlUnit does not  
spew?

Marc


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Ahmed Ashour :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Dear Marc,
 
Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts, the method is already implemented.
 
Yours,
Ahmed

From: Marc Palmer <marc@...>
To: htmlunit-user@...
Sent: Tuesday, February 10, 2009 1:17:13 PM
Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4


On 10 Feb 2009, at 11:10, Marc Palmer wrote:

> Hi guys,
>
> I had some users complain that the Functional Testing plugin for
> Grails was spewing JS errors when trying to test jQuery code.
>
> I knocked up a trivial test, and found exactly the same problem as the
> users.

FYI it seems the JS parser is spewing on:

document.createComment("")

Within the jQuery source. Is this method supported at all by HtmlUnit 
- perhaps with a different browser emulation (am running with default 
currently().

If not, is there a way we can augment the JS functions available on 
"document" from within our test framework so that HtmlUnit does not 
spew?

Marc


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Marc Palmer Local :: Rate this Message:

| View Threaded | Show Only this Message


On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts 
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Trent Ohannessian :: Rate this Message:

| View Threaded | Show Only this Message

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError: com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Ahmed Ashour :: Rate this Message:

| View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>
To: htmlunit-user@...
Sent: Tuesday, February 17, 2009 6:15:26 PM
Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Trent Ohannessian :: Rate this Message:

| View Threaded | Show Only this Message

Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by gredler :: Rate this Message:

| View Threaded | Show Only this Message

Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel


On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Trent Ohannessian :: Rate this Message:

| View Threaded | Show Only this Message

Hey Daniel,

Putting the 2.4 core jar file in my classpath gives me the original error about the NoClassDefFound on the ThreadManager class.  So I have the 2.4 core, and 2.5 SNAPSHOT.  Is there a 2.5 core hanging around somewhere?

Trent

On Tue, Feb 17, 2009 at 10:18 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel



On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by gredler :: Rate this Message:

| View Threaded | Show Only this Message

Hi Trent,

We're talking about two different JARs here. One is the HtmlUnit JAR, and one is the HtmlUnit Core JavaScript JAR. You need to replace the old HtmlUnit JAR (htmlunit-2.4.jar) with the new HtmlUnit JAR (htmlunit-2.5-SNAPSHOT.jar), but leave the old HtmlUnit Core JS JAR around (htmlunit-core-js-2.4.jar).

Take care,

Daniel


On Tue, Feb 17, 2009 at 11:46 AM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Putting the 2.4 core jar file in my classpath gives me the original error about the NoClassDefFound on the ThreadManager class.  So I have the 2.4 core, and 2.5 SNAPSHOT.  Is there a 2.5 core hanging around somewhere?

Trent


On Tue, Feb 17, 2009 at 10:18 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel



On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Trent Ohannessian :: Rate this Message:

| View Threaded | Show Only this Message

Hey Daniel,

Yup, that's the configuration I have right now.  I have the htmlunit-core-js-2.4.jar and the 2.5 SNAPSHOT in my classpath  The original htmlunit-2.4.jar is gone.  This is the configuration that gives me the ClassDefNotFound on the ThreadManager class.

Trent


On Tue, Feb 17, 2009 at 10:55 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

We're talking about two different JARs here. One is the HtmlUnit JAR, and one is the HtmlUnit Core JavaScript JAR. You need to replace the old HtmlUnit JAR (htmlunit-2.4.jar) with the new HtmlUnit JAR (htmlunit-2.5-SNAPSHOT.jar), but leave the old HtmlUnit Core JS JAR around (htmlunit-core-js-2.4.jar).

Take care,

Daniel



On Tue, Feb 17, 2009 at 11:46 AM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Putting the 2.4 core jar file in my classpath gives me the original error about the NoClassDefFound on the ThreadManager class.  So I have the 2.4 core, and 2.5 SNAPSHOT.  Is there a 2.5 core hanging around somewhere?

Trent


On Tue, Feb 17, 2009 at 10:18 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel



On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by gredler :: Rate this Message:

| View Threaded | Show Only this Message

Are you using the ThreadManager in your code?


On Tue, Feb 17, 2009 at 1:08 PM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Yup, that's the configuration I have right now.  I have the htmlunit-core-js-2.4.jar and the 2.5 SNAPSHOT in my classpath  The original htmlunit-2.4.jar is gone.  This is the configuration that gives me the ClassDefNotFound on the ThreadManager class.

Trent


On Tue, Feb 17, 2009 at 10:55 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

We're talking about two different JARs here. One is the HtmlUnit JAR, and one is the HtmlUnit Core JavaScript JAR. You need to replace the old HtmlUnit JAR (htmlunit-2.4.jar) with the new HtmlUnit JAR (htmlunit-2.5-SNAPSHOT.jar), but leave the old HtmlUnit Core JS JAR around (htmlunit-core-js-2.4.jar).

Take care,

Daniel



On Tue, Feb 17, 2009 at 11:46 AM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Putting the 2.4 core jar file in my classpath gives me the original error about the NoClassDefFound on the ThreadManager class.  So I have the 2.4 core, and 2.5 SNAPSHOT.  Is there a 2.5 core hanging around somewhere?

Trent


On Tue, Feb 17, 2009 at 10:18 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel



On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Trent Ohannessian :: Rate this Message:

| View Threaded | Show Only this Message

Not intentionally. I'm using Webtest Canoo, so they might be using it in the testing framework.


On Tue, Feb 17, 2009 at 1:40 PM, Daniel Gredler <djgredler@...> wrote:
Are you using the ThreadManager in your code?



On Tue, Feb 17, 2009 at 1:08 PM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Yup, that's the configuration I have right now.  I have the htmlunit-core-js-2.4.jar and the 2.5 SNAPSHOT in my classpath  The original htmlunit-2.4.jar is gone.  This is the configuration that gives me the ClassDefNotFound on the ThreadManager class.

Trent


On Tue, Feb 17, 2009 at 10:55 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

We're talking about two different JARs here. One is the HtmlUnit JAR, and one is the HtmlUnit Core JavaScript JAR. You need to replace the old HtmlUnit JAR (htmlunit-2.4.jar) with the new HtmlUnit JAR (htmlunit-2.5-SNAPSHOT.jar), but leave the old HtmlUnit Core JS JAR around (htmlunit-core-js-2.4.jar).

Take care,

Daniel



On Tue, Feb 17, 2009 at 11:46 AM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Putting the 2.4 core jar file in my classpath gives me the original error about the NoClassDefFound on the ThreadManager class.  So I have the 2.4 core, and 2.5 SNAPSHOT.  Is there a 2.5 core hanging around somewhere?

Trent


On Tue, Feb 17, 2009 at 10:18 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel



On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by gredler :: Rate this Message:

| View Threaded | Show Only this Message

@Marc: Any idea whether WebTest uses ThreadManager?

@Trent: If it does, then you may have to wait for the next official HtmlUnit release and then for WebTest to be updated :-/



On Tue, Feb 17, 2009 at 3:00 PM, Trent Ohannessian <tohann@...> wrote:
Not intentionally. I'm using Webtest Canoo, so they might be using it in the testing framework.



On Tue, Feb 17, 2009 at 1:40 PM, Daniel Gredler <djgredler@...> wrote:
Are you using the ThreadManager in your code?



On Tue, Feb 17, 2009 at 1:08 PM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Yup, that's the configuration I have right now.  I have the htmlunit-core-js-2.4.jar and the 2.5 SNAPSHOT in my classpath  The original htmlunit-2.4.jar is gone.  This is the configuration that gives me the ClassDefNotFound on the ThreadManager class.

Trent


On Tue, Feb 17, 2009 at 10:55 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

We're talking about two different JARs here. One is the HtmlUnit JAR, and one is the HtmlUnit Core JavaScript JAR. You need to replace the old HtmlUnit JAR (htmlunit-2.4.jar) with the new HtmlUnit JAR (htmlunit-2.5-SNAPSHOT.jar), but leave the old HtmlUnit Core JS JAR around (htmlunit-core-js-2.4.jar).

Take care,

Daniel



On Tue, Feb 17, 2009 at 11:46 AM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Putting the 2.4 core jar file in my classpath gives me the original error about the NoClassDefFound on the ThreadManager class.  So I have the 2.4 core, and 2.5 SNAPSHOT.  Is there a 2.5 core hanging around somewhere?

Trent


On Tue, Feb 17, 2009 at 10:18 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel



On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Trent Ohannessian :: Rate this Message:

| View Threaded | Show Only this Message

Ok, thanks Daniel.  Now, the question that you know is coming.... :)  Do you have an idea as to when that might be?


On Tue, Feb 17, 2009 at 5:55 PM, Daniel Gredler <djgredler@...> wrote:
@Marc: Any idea whether WebTest uses ThreadManager?

@Trent: If it does, then you may have to wait for the next official HtmlUnit release and then for WebTest to be updated :-/




On Tue, Feb 17, 2009 at 3:00 PM, Trent Ohannessian <tohann@...> wrote:
Not intentionally. I'm using Webtest Canoo, so they might be using it in the testing framework.



On Tue, Feb 17, 2009 at 1:40 PM, Daniel Gredler <djgredler@...> wrote:
Are you using the ThreadManager in your code?



On Tue, Feb 17, 2009 at 1:08 PM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Yup, that's the configuration I have right now.  I have the htmlunit-core-js-2.4.jar and the 2.5 SNAPSHOT in my classpath  The original htmlunit-2.4.jar is gone.  This is the configuration that gives me the ClassDefNotFound on the ThreadManager class.

Trent


On Tue, Feb 17, 2009 at 10:55 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

We're talking about two different JARs here. One is the HtmlUnit JAR, and one is the HtmlUnit Core JavaScript JAR. You need to replace the old HtmlUnit JAR (htmlunit-2.4.jar) with the new HtmlUnit JAR (htmlunit-2.5-SNAPSHOT.jar), but leave the old HtmlUnit Core JS JAR around (htmlunit-core-js-2.4.jar).

Take care,

Daniel



On Tue, Feb 17, 2009 at 11:46 AM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Putting the 2.4 core jar file in my classpath gives me the original error about the NoClassDefFound on the ThreadManager class.  So I have the 2.4 core, and 2.5 SNAPSHOT.  Is there a 2.5 core hanging around somewhere?

Trent


On Tue, Feb 17, 2009 at 10:18 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel



On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by gredler :: Rate this Message:

| View Threaded | Show Only this Message

:-)

My guess would be March, since we try to keep releases flowing fairly often.



On Tue, Feb 17, 2009 at 8:05 PM, Trent Ohannessian <tohann@...> wrote:
Ok, thanks Daniel.  Now, the question that you know is coming.... :)  Do you have an idea as to when that might be?



On Tue, Feb 17, 2009 at 5:55 PM, Daniel Gredler <djgredler@...> wrote:
@Marc: Any idea whether WebTest uses ThreadManager?

@Trent: If it does, then you may have to wait for the next official HtmlUnit release and then for WebTest to be updated :-/




On Tue, Feb 17, 2009 at 3:00 PM, Trent Ohannessian <tohann@...> wrote:
Not intentionally. I'm using Webtest Canoo, so they might be using it in the testing framework.



On Tue, Feb 17, 2009 at 1:40 PM, Daniel Gredler <djgredler@...> wrote:
Are you using the ThreadManager in your code?



On Tue, Feb 17, 2009 at 1:08 PM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Yup, that's the configuration I have right now.  I have the htmlunit-core-js-2.4.jar and the 2.5 SNAPSHOT in my classpath  The original htmlunit-2.4.jar is gone.  This is the configuration that gives me the ClassDefNotFound on the ThreadManager class.

Trent


On Tue, Feb 17, 2009 at 10:55 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

We're talking about two different JARs here. One is the HtmlUnit JAR, and one is the HtmlUnit Core JavaScript JAR. You need to replace the old HtmlUnit JAR (htmlunit-2.4.jar) with the new HtmlUnit JAR (htmlunit-2.5-SNAPSHOT.jar), but leave the old HtmlUnit Core JS JAR around (htmlunit-core-js-2.4.jar).

Take care,

Daniel



On Tue, Feb 17, 2009 at 11:46 AM, Trent Ohannessian <tohann@...> wrote:
Hey Daniel,

Putting the 2.4 core jar file in my classpath gives me the original error about the NoClassDefFound on the ThreadManager class.  So I have the 2.4 core, and 2.5 SNAPSHOT.  Is there a 2.5 core hanging around somewhere?

Trent


On Tue, Feb 17, 2009 at 10:18 AM, Daniel Gredler <djgredler@...> wrote:
Hi Trent,

You need to leave the htmlunit core js jar in your classpath.

Take care,

Daniel



On Tue, Feb 17, 2009 at 10:30 AM, Trent Ohannessian <tohann@...> wrote:
Hey Ahmed,

Thank you for your quick reply!

Yes, I was using both the 2.5 SNAPSHOT jar and the 2.4 core jar so I removed the 2.4 core jar.  So the only HtmlUnit jar file in the lib directory is the 2.5 SNAPSHOT.   Now get a different error very quickly after the test runs.

java.lang.NoClassDefFoundError: org/mozilla/javascript/ScriptableObject

Thanks in advance,
Trent


On Tue, Feb 17, 2009 at 9:21 AM, Ahmed Ashour <asashour@...> wrote:
Hi Trent,
 
I guess you are using both .jars of 2.4 and 2.5-SNAPSHOT, pleas use only 2.5-SNAPSHOT.
 
Yours,
Ahmed

From: Trent Ohannessian <tohann@...>Sent: Tuesday, February 17, 2009 6:15:26 PM

Subject: Re: [Htmlunit-user] Problem with jQuery and HtmlUnit 2.4

I'm piggybacking on this topic because it *seems* like my problem is related.

I'm running WebTest Canoo with HtmlUnit 2.4 testing pages with JQuery 1.3, and the test is failing because a "search" method is undefined.  It sounded like I needed the latest snapshot of HTMLUnit to play nicely with JQuery 1.3 but I get a different error after upgrading to the latest HTMLUnit Snapshot:

java.lang.NoSuchMethodError:
 com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;

So it's now not getting past the first step.  I found this class in the original htmlunit-2.4.jar, but it's not in the htmlunit-2.5-SNAPSHOT.jar file.

Am I missing something?


On Tue, Feb 10, 2009 at 8:07 AM, Marc Palmer <marc@...> wrote:

On 10 Feb 2009, at 11:24, Ahmed Ashour wrote:

> Dear Marc,
>
> Please get latest snapshot from http://build.canoo.com/htmlunit/artifacts
> , the method is already implemented.
>

Thanks very much Ahmed! This works great in terms of loading the JS.

~ ~ ~
Marc Palmer
Blog         > http://www.anyware.co.uk
Twitter      > http://twitter.com/wangjammer5
Grails Rocks > http://www.grailsrocks.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user




--
Daniel Gredler
http://daniel.gredler.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user

Re: Problem with jQuery and HtmlUnit 2.4

by Marc Guillemot :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

WebTest does use ThreadManager when the easyAjax setting is on (which is
the default): this wait it can cleverly wait after executing some
action. Due to the changes concerning the ThreadManager in HtmlUnit
since release 2.4, latest HtmlUnit snapshot can't be simply drop in
place of HtmlUnit-2.4.jar in WebTest distribution. Nevertheless it's
possible that it works when easyAjax is set to false.

Cheers,
Marc.
--
Web: http://www.efficient-webtesting.com
Blog: http://mguillem.wordpress.com

Daniel Gredler wrote:

> :-)
>
> My guess would be March, since we try to keep releases flowing fairly often.
>
>
>
> On Tue, Feb 17, 2009 at 8:05 PM, Trent Ohannessian <tohann@...
> <mailto:tohann@...>> wrote:
>
>     Ok, thanks Daniel.  Now, the question that you know is coming....
>     :)  Do you have an idea as to when that might be?
>
>
>
>     On Tue, Feb 17, 2009 at 5:55 PM, Daniel Gredler <djgredler@...
>     <mailto:djgredler@...>> wrote:
>
>         @Marc: Any idea whether WebTest uses ThreadManager?
>
>         @Trent: If it does, then you may have to wait for the next
>         official HtmlUnit release and then for WebTest to be updated :-/
>
>
>
>
>         On Tue, Feb 17, 2009 at 3:00 PM, Trent Ohannessian
>         <tohann@... <mailto:tohann@...>> wrote:
>
>             Not intentionally. I'm using Webtest Canoo, so they might be
>             using it in the testing framework.
>
>
>
>             On Tue, Feb 17, 2009 at 1:40 PM, Daniel Gredler
>             <djgredler@... <mailto:djgredler@...>> wrote:
>
>                 Are you using the ThreadManager in your code?
>
>
>
>                 On Tue, Feb 17, 2009 at 1:08 PM, Trent Ohannessian
>                 <tohann@... <mailto:tohann@...>> wrote:
>
>                     Hey Daniel,
>
>                     Yup, that's the configuration I have right now.  I
>                     have the htmlunit-core-js-2.4.jar and the 2.5
>                     SNAPSHOT in my classpath  The original
>                     htmlunit-2.4.jar is gone.  This is the configuration
>                     that gives me the ClassDefNotFound on the
>                     ThreadManager class.
>
>                     Trent
>
>
>                     On Tue, Feb 17, 2009 at 10:55 AM, Daniel Gredler
>                     <djgredler@... <mailto:djgredler@...>>
>                     wrote:
>
>                         Hi Trent,
>
>                         We're talking about two different JARs here. One
>                         is the HtmlUnit JAR, and one is the HtmlUnit
>                         Core JavaScript JAR. You need to replace the old
>                         HtmlUnit JAR (htmlunit-2.4.jar) with the new
>                         HtmlUnit JAR (htmlunit-2.5-SNAPSHOT.jar), but
>                         leave the old HtmlUnit Core JS JAR around
>                         (htmlunit-core-js-2.4.jar).
>
>                         Take care,
>
>                         Daniel
>
>
>
>                         On Tue, Feb 17, 2009 at 11:46 AM, Trent
>                         Ohannessian <tohann@...
>                         <mailto:tohann@...>> wrote:
>
>                             Hey Daniel,
>
>                             Putting the 2.4 core jar file in my
>                             classpath gives me the original error about
>                             the NoClassDefFound on the ThreadManager
>                             class.  So I have the 2.4 core, and 2.5
>                             SNAPSHOT.  Is there a 2.5 core hanging
>                             around somewhere?
>
>                             Trent
>
>
>                             On Tue, Feb 17, 2009 at 10:18 AM, Daniel
>                             Gredler <djgredler@...
>                             <mailto:djgredler@...>> wrote:
>
>                                 Hi Trent,
>
>                                 You need to leave the htmlunit core js
>                                 jar in your classpath.
>
>                                 Take care,
>
>                                 Daniel
>
>
>
>                                 On Tue, Feb 17, 2009 at 10:30 AM, Trent
>                                 Ohannessian <tohann@...
>                                 <mailto:tohann@...>> wrote:
>
>                                     Hey Ahmed,
>
>                                     Thank you for your quick reply!
>
>                                     Yes, I was using both the 2.5
>                                     SNAPSHOT jar and the 2.4 core jar so
>                                     I removed the 2.4 core jar.  So the
>                                     only HtmlUnit jar file in the lib
>                                     directory is the 2.5 SNAPSHOT.   Now
>                                     get a different error very quickly
>                                     after the test runs.
>
>                                     java.lang.NoClassDefFoundError:
>                                     org/mozilla/javascript/ScriptableObject
>
>                                     Thanks in advance,
>                                     Trent
>
>
>                                     On Tue, Feb 17, 2009 at 9:21 AM,
>                                     Ahmed Ashour <asashour@...
>                                     <mailto:asashour@...>> wrote:
>
>                                         Hi Trent,
>                                          
>                                         I guess you are using both .jars
>                                         of 2.4 and 2.5-SNAPSHOT, pleas
>                                         use only 2.5-SNAPSHOT.
>                                          
>                                         Yours,
>                                         Ahmed
>                                         ------------------------------------------------------------------------
>                                         *From:* Trent Ohannessian
>                                         <tohann@...
>                                         <mailto:tohann@...>>
>
>                                         *To:*
>                                         htmlunit-user@...
>                                         <mailto:htmlunit-user@...>
>                                         *Sent:* Tuesday, February 17,
>                                         2009 6:15:26 PM
>
>                                         *Subject:* Re: [Htmlunit-user]
>                                         Problem with jQuery and HtmlUnit 2.4
>
>                                         I'm piggybacking on this topic
>                                         because it *seems* like my
>                                         problem is related.
>
>                                         I'm running WebTest Canoo with
>                                         HtmlUnit 2.4 testing pages with
>                                         JQuery 1.3, and the test is
>                                         failing because a "search"
>                                         method is undefined.  It sounded
>                                         like I needed the latest
>                                         snapshot of HTMLUnit to play
>                                         nicely with JQuery 1.3 but I get
>                                         a different error after
>                                         upgrading to the latest HTMLUnit
>                                         Snapshot:
>
>                                         java.lang.NoSuchMethodError:
>                                          com.gargoylesoftware.htmlunit.WebWindow.getThreadManager()Lcom/gargoylesoftware/htmlunit/ThreadManager;
>
>
>                                         So it's now not getting past the
>                                         first step.  I found this class
>                                         in the original
>                                         htmlunit-2.4.jar, but it's not
>                                         in the htmlunit-2.5-SNAPSHOT.jar
>                                         file.
>
>                                         Am I missing something?
>
>
>                                         On Tue, Feb 10, 2009 at 8:07 AM,
>                                         Marc Palmer <marc@...
>                                         <mailto:marc@...>> wrote:
>
>
>                                             On 10 Feb 2009, at 11:24,
>                                             Ahmed Ashour wrote:
>
>                                             > Dear Marc,
>                                             >
>                                             > Please get latest snapshot
>                                             from
>                                             http://build.canoo.com/htmlunit/artifacts
>                                             > , the method is already
>                                             implemented.
>                                             >
>
>                                             Thanks very much Ahmed! This
>                                             works great in terms of
>                                             loading the JS.
>
>                                             ~ ~ ~
>                                             Marc Palmer
>                                             Blog         >
>                                             http://www.anyware.co.uk
>                                             <http://www.anyware.co.uk/>
>                                             Twitter      >
>                                             http://twitter.com/wangjammer5
>                                             Grails Rocks >
>                                             http://www.grailsrocks.com
>                                             <http://www.grailsrocks.com/>
>
>
>
>
>
>
>
>                                             ------------------------------------------------------------------------------
>                                             Create and Deploy Rich
>                                             Internet Apps outside the
>                                             browser with Adobe(R)AIR(TM)
>                                             software. With Adobe AIR,
>                                             Ajax developers can use
>                                             existing skills and code to
>                                             build responsive, highly
>                                             engaging applications that
>                                             combine the power of local
>                                             resources and data with the
>                                             reach of the web. Download
>                                             the Adobe AIR SDK and
>                                             Ajax docs to start building
>                                             applications
>                                             today-http://p.sf.net/sfu/adobe-com
>                                             _______________________________________________
>                                             Htmlunit-user mailing list
>                                             Htmlunit-user@...
>                                             <mailto:Htmlunit-user@...>
>                                             https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>
>                                         ------------------------------------------------------------------------------
>                                         Open Source Business Conference
>                                         (OSBC), March 24-25, 2009, San
>                                         Francisco, CA
>                                         -OSBC tackles the biggest issue
>                                         in open source: Open Sourcing
>                                         the Enterprise
>                                         -Strategies to boost innovation
>                                         and cut costs with open source
>                                         participation
>                                         -Receive a $600 discount off the
>                                         registration fee with the source
>                                         code: SFAD
>                                         http://p.sf.net/sfu/XcvMzF8H
>
>                                         _______________________________________________
>                                         Htmlunit-user mailing list
>                                         Htmlunit-user@...
>                                         <mailto:Htmlunit-user@...>
>                                         https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>                                     ------------------------------------------------------------------------------
>                                     Open Source Business Conference
>                                     (OSBC), March 24-25, 2009, San
>                                     Francisco, CA
>                                     -OSBC tackles the biggest issue in
>                                     open source: Open Sourcing the
>                                     Enterprise
>                                     -Strategies to boost innovation and
>                                     cut costs with open source participation
>                                     -Receive a $600 discount off the
>                                     registration fee with the source
>                                     code: SFAD
>                                     http://p.sf.net/sfu/XcvMzF8H
>                                     _______________________________________________
>                                     Htmlunit-user mailing list
>                                     Htmlunit-user@...
>                                     <mailto:Htmlunit-user@...>
>                                     https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>
>                                 --
>                                 Daniel Gredler
>                                 http://daniel.gredler.net/
>
>                                 ------------------------------------------------------------------------------
>                                 Open Source Business Conference (OSBC),
>                                 March 24-25, 2009, San Francisco, CA
>                                 -OSBC tackles the biggest issue in open
>                                 source: Open Sourcing the Enterprise
>                                 -Strategies to boost innovation and cut
>                                 costs with open source participation
>                                 -Receive a $600 discount off the
>                                 registration fee with the source code: SFAD
>                                 http://p.sf.net/sfu/XcvMzF8H
>                                 _______________________________________________
>                                 Htmlunit-user mailing list
>                                 Htmlunit-user@...
>                                 <mailto:Htmlunit-user@...>
>                                 https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>                             ------------------------------------------------------------------------------
>                             Open Source Business Conference (OSBC),
>                             March 24-25, 2009, San Francisco, CA
>                             -OSBC tackles the biggest issue in open
>                             source: Open Sourcing the Enterprise
>                             -Strategies to boost innovation and cut
>                             costs with open source participation
>                             -Receive a $600 discount off the
>                             registration fee with the source code: SFAD
>                             http://p.sf.net/sfu/XcvMzF8H
>                             _______________________________________________
>                             Htmlunit-user mailing list
>                             Htmlunit-user@...
>                             <mailto:Htmlunit-user@...>
>                             https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>
>                         --
>                         Daniel Gredler
>                         http://daniel.gredler.net/
>
>                         ------------------------------------------------------------------------------
>                         Open Source Business Conference (OSBC), March
>                         24-25, 2009, San Francisco, CA
>                         -OSBC tackles the biggest issue in open source:
>                         Open Sourcing the Enterprise
>                         -Strategies to boost innovation and cut costs
>                         with open source participation
>                         -Receive a $600 discount off the registration
>                         fee with the source code: SFAD
>                         http://p.sf.net/sfu/XcvMzF8H
>                         _______________________________________________
>                         Htmlunit-user mailing list
>                         Htmlunit-user@...
>                         <mailto:Htmlunit-user@...>
>                         https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>                     ------------------------------------------------------------------------------
>                     Open Source Business Conference (OSBC), March 24-25,
>                     2009, San Francisco, CA
>                     -OSBC tackles the biggest issue in open source: Open
>                     Sourcing the Enterprise
>                     -Strategies to boost innovation and cut costs with
>                     open source participation
>                     -Receive a $600 discount off the registration fee
>                     with the source code: SFAD
>                     http://p.sf.net/sfu/XcvMzF8H
>                     _______________________________________________
>                     Htmlunit-user mailing list
>                     Htmlunit-user@...
>                     <mailto:Htmlunit-user@...>
>                     https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>
>                 --
>                 Daniel Gredler
>                 http://daniel.gredler.net/
>
>                 ------------------------------------------------------------------------------
>                 Open Source Business Conference (OSBC), March 24-25,
>                 2009, San Francisco, CA
>                 -OSBC tackles the biggest issue in open source: Open
>                 Sourcing the Enterprise
>                 -Strategies to boost innovation and cut costs with open
>                 source participation
>                 -Receive a $600 discount off the registration fee with
>                 the source code: SFAD
>                 http://p.sf.net/sfu/XcvMzF8H
>                 _______________________________________________
>                 Htmlunit-user mailing list
>                 Htmlunit-user@...
>                 <mailto:Htmlunit-user@...>
>                 https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>
>             ------------------------------------------------------------------------------
>             Open Source Business Conference (OSBC), March 24-25, 2009,
>             San Francisco, CA
>             -OSBC tackles the biggest issue in open source: Open
>             Sourcing the Enterprise
>             -Strategies to boost innovation and cut costs with open
>             source participation
>             -Receive a $600 discount off the registration fee with the
>             source code: SFAD
>             http://p.sf.net/sfu/XcvMzF8H
>             _______________________________________________
>             Htmlunit-user mailing list
>             Htmlunit-user@...
>             <mailto:Htmlunit-user@...>
>             https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>
>         --
>         Daniel Gredler
>         http://daniel.gredler.net/
>
>         ------------------------------------------------------------------------------
>         Open Source Business Conference (OSBC), March 24-25, 2009, San
>         Francisco, CA
>         -OSBC tackles the biggest issue in open source: Open Sourcing
>         the Enterprise
>         -Strategies to boost innovation and cut costs with open source
>         participation
>         -Receive a $600 discount off the registration fee with the
>         source code: SFAD
>         http://p.sf.net/sfu/XcvMzF8H
>         _______________________________________________
>         Htmlunit-user mailing list
>         Htmlunit-user@...
>         <mailto:Htmlunit-user@...>
>         https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>     ------------------------------------------------------------------------------
>     Open Source Business Conference (OSBC), March 24-25, 2009, San
>     Francisco, CA
>     -OSBC tackles the biggest issue in open source: Open Sourcing the
>     Enterprise
>     -Strategies to boost innovation and cut costs with open source
>     participation
>     -Receive a $600 discount off the registration fee with the source
>     code: SFAD
>     http://p.sf.net/sfu/XcvMzF8H
>     _______________________________________________
>     Htmlunit-user mailing list
>     Htmlunit-user@...
>     <mailto:Htmlunit-user@...>
>     https://lists.sourceforge.net/lists/listinfo/htmlunit-user
>
>
>
>
> --
> Daniel Gredler
> http://daniel.gredler.net/
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Htmlunit-user mailing list
> Htmlunit-user@...
> https://lists.sourceforge.net/lists/listinfo/htmlunit-user



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Htmlunit-user mailing list
Htmlunit-user@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-user