I was able to fix the problem below by adding an @Shell component to my page.
However, now I'm getting a new issue:
JavaScript error loading page
http://localhost:9876/appfuse-tapestry-2.0-rc1-SNAPSHOT/signup.html: Wrapped
com.gargoylesoftware.htmlunit.ScriptException: unknown protocol: javascri
I tried it with 4.1.3-SNAPSHOT and Canoo WebTest R_1600 (which uses HTMLUnit
1.13). Unfortunately it doesn't seem to get past the first page:
ReferenceError: "dojo" is not defined.
(http://localhost:9876/appfuse-tapestry-2.0-rc1-SNAPSHOT/assets/static/dojo-0.4.3/dojo3.js#11)
Matt
Kalle Korhone
Just did. And what do you know; 1.13 does run successfully most of our (
http://trailsframework.org) functional tests that broke because of
Javascript execution errors when we moved to Tap 4.1.2 (and dojo) and
previously run on htmlunit 1.11.
Kalle
On 8/23/07, mraible <[EMAIL PROTECTED]> wrote:
Has anyone tried HtmlUnit 1.13 with Tapestry 4.1? They claim much better
JavaScript support in 1.13:
http://tinyurl.com/2lo6p8
Matt
nirvdrum wrote:
>
> Has anyone here tried to test their Web app with HTMLUnit using Tapestry
> 4.1? I'm getting a lot of errors related to embedded dojo stuff
> Firing up the Web browser, on the other hand, may
> be. Do you happen to have any experience setting this up on a headless
> build server?
That's next on our list :-) We're experimenting locally with the tests to prove
how useful Selenium is and, if we like it (going well so far!) we'll move
We should have a seperate tapestry-testing project out soon that will help
with some of these things. (builds off of
http://howardlewisship.com/tapestry-javaforge/tapestry-testng/ to support
TestNG as the base testing framework) Things are still a little hairy right
now but it should be done soon-
On Tue, 27 Jun 2006 07:24:35 -0400, D&J Gredler <[EMAIL PROTECTED]>
wrote:
Do you mean to say that it's still executing JavaScript when you disable
it?
It appears that if the JavaScript is embedded in a page, HTMLUnit will
attempt to do something with it, regardless of whether JavaScript
On Tue, 27 Jun 2006 07:52:43 -0400, Paul Field <[EMAIL PROTECTED]> wrote:
One other thing is that the "Selenium" object that represents your
session is very expensive to create (it requires creating an instance of
the web browser). You can use JUnit setUp/tearDown around a suite so
that you
> > For this type of integration testing I would reccomend using selenium.
> > (tacos uses this currently )
>
> That's what I was thinking. I'll give it a go. I'm a bit hesitant since
> when I last looked (back in November), the documentation was absolutely
> atrocious.
We're just starting to u
Do you mean to say that it's still executing JavaScript when you disable it?
Or that it's having trouble parsing files? You might want to file a bug
report to the HtmlUnit tracker... If I remember correctly, you're also
supposed to be able to rip out the Rhino js.jar file to disable
JavaScript...
On Mon, 26 Jun 2006 12:17:26 -0400, Jesse Kuhnert <[EMAIL PROTECTED]>
wrote:
I tried a while back with no luck. It's a very admirable attempt at
mimicking the browser but not quite complete enough to handle the likes
of
dojo...
Heh, I would be fine with that if the disable JavaScript opti
I tried a while back with no luck. It's a very admirable attempt at
mimicking the browser but not quite complete enough to handle the likes of
dojo...
For this type of integration testing I would reccomend using selenium.
(tacos uses this currently )
On 6/26/06, Kevin Menard <[EMAIL PROTECTED]>
12 matches
Mail list logo