[Webtest] Javascript Support

Aatish Arora webtest@lists.canoo.com
Thu, 26 Jun 2003 10:07:43 -0700 (PDT)

Hi Brandon,

Officially Canoo has support for the onClick() on
(yet! :) )

Well canoo doesent apparently inhert all the
Javascript support HTTPunit has...

I do have some patches for alert boxes and
confirmations if you would need them...

Besides someone had posted a patch for setting hidden
fields...I guess I would have it too - if your
interested i could mail it to you.


--- Brandon Moore <bmoore@commcode.com> wrote:
> The Canoo webpage claims Javascript isn't supported.
> (at least the page at
> http://webtest.canoo.com/webtest/manual/install.html
> maybe there is another?)
> HttpUnit does Javascript, so shouldn't canoo just
> inherit supprt? I know the
> onSubmit action on a
> form is processed correctly, so I'm wondering if
> those warnings are out of
> date? On the other hand,
> it looks like the code for clicklink ignores the
> onClick attribute (if it
> used click() instead of getRequest()
> it would hit the javascript).
> How well is Javascript supported in canoo? Is there
> any place I could get
> accurate information about
> what works without looking through the source?
> On a related topic, is there any way to set hidden
> fields of a form without
> extending canoo? The
> setinput step can't find the hidden field. If it
> could, I think httpunit's
> parameter validation would
> complain
> (HttpUnitOptions.setParameterValuesVallidated
> controls this). I
> wrote a "setHiddenField"
> task that uses the
> idiom, but I'm wondering
> if there is a better way.
> Thanks
> Brandon
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest


1) You believe in Santa Claus.
2) You don't believe in Santa Claus.
3) You are Santa Claus.
4) You look like Santa Claus.

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!