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-ish.

You also have http://jrex.mozdev.org/ which may or may not be what selenium
is using to do its headless server mode stuff.

All of this is still a little frustrating for me at times, but I'm trying to
keep myself up to date on the latest things when I can...Someone told me
that it is planned to eventually move firefox/thunderbird over to the new
XPCOM based platform in the future, which would allow us to create unit
tests that actually run in the browser without having to install a brand new
set of mozilla libs just for testing...(ie xulrunner )

The new tapestry test project will host some basic utilities for testing
tapestry components/pages (mostly via easymock.org type enhancements) , but
will also support testing "pure" javascript functional testing via the rhino
interpreter. (still can't test full browser mode as rhino doesn't have a
browser API, but I've been doing a little mock-like functionality in these
tests for the new tapestry release and have found it to work out pretty well
so far).

On 6/27/06, Kevin Menard <[EMAIL PROTECTED]> wrote:

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 is
enabled in the WebClient.  I'd have to dig into it a bit more, but that's
what the exception message seems to indicate.

> 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...

Hmm . . . maybe I'll give that a try.  I think in the long run, I'm going
to want to migrate away from this anyway.

--
Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to