Re[1]: [Webtest] JavaScript support (again)

Costin webtest@lists.canoo.com
Fri, 19 Nov 2004 09:54:01 +0200


First of all, thanks for the response.
>I don't know of any doc related to Javascript, but there have been
lots of postings about it >lately on the mailing list, since the new
HtmlUnit-based WebTest has more Javascript >support.  Some of the
discussion is on how things should be made to work, eg.,
>http://lists.canoo.com/pipermail/webtest/2004q4/002721.html
I have loooked  at this email but it didn't help anyways. It's says
something about the current response but it doesn't point to any
resources of JavaScript nor XML related things.

>Other than that I don't know how to answer your question, but no
doubt someone will.  I am >just now starting to use the HtmlUnit-based
WebTest on pages that have Javascript, and I'm >just using standard
XML WebTest files.  I have been able to verify a title of a window
popped >up with Javascript, and click on Javascript buttons, that's as
far as I have gone.
>-- Lisa
How did you started using JavaScript support - through normal Java
files or XML files. Do you have some examples with the checks of the 
Javascript button and/or window?

If my assumpation is correct then JS is supported in WebTest only
through JavaCode. However, I think there could be some way to extend
the syntax in order to provide the needed functionality for JS into
XML file also.

Any materials except the selftest and the rest of the source code?

Thanks a lot.
Costin