[Webtest] JavaScript support (again)
Lisa Crispin
webtest@lists.canoo.com
Thu, 18 Nov 2004 22:12:41 +0000
--NextPart_Webmail_9m3u9jl4l_29959_1100815961_0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
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
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
-------------- Original message from Costin <cos.de.gunoi@gmail.com>: --------------
> Hi.
>
> I have looked over the mailing list but I couldn't find a proper
> response. Also on the wiki and on the selftest. Seems like I'm missing
> a part from documentation related to JavaScript. I see the archive
> (js.jar) inside the lib but I couldn't find any mention on how to
> handle the JavaScript with WebTest Canoo (but found in the doc that
> the JavaScript is not executed).
>
> Is there any tutorial available somewhere ? What exactly is the
> support for JavaScript?
>
> All our tests are planned to be written in xml (one main reason for
> choosing Canoo) - is it possible to handle JavaScript this way? I have
> seen some mails but nothing clear and at this stage I am confused
> about this topic.
>
> We are not looking for anything complex with JavaScript (but it would
> be nice) but rather small things that most websites have ("are you
> sure" popup windows and such).
>
> If anyone has some links or emails for guidance I would greatly appreciated.
>
> Thanks.
>
> Costin
> _______________________________________________
> WebTest mailing list
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
--NextPart_Webmail_9m3u9jl4l_29959_1100815961_0
Content-Type: text/html
Content-Transfer-Encoding: 8bit
<html>
<!-- BEGIN WEBMAIL STATIONERY -->
<head></head>
<body>
<!-- WEBMAIL STATIONERY noneset -->
<DIV>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., <A href="http://lists.canoo.com/pipermail/webtest/2004q4/002721.html">http://lists.canoo.com/pipermail/webtest/2004q4/002721.html</A></DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV>-- Lisa</DIV><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">-------------- Original message from Costin <cos.de.gunoi@gmail.com>: -------------- <BR><BR><BR>> Hi. <BR>> <BR>> I have looked over the mailing list but I couldn't find a proper <BR>> response. Also on the wiki and on the selftest. Seems like I'm missing <BR>> a part from documentation related to JavaScript. I see the archive <BR>> (js.jar) inside the lib but I couldn't find any mention on how to <BR>> handle the JavaScript with WebTest Canoo (but found in the doc that <BR>> the JavaScript is not executed). <BR>> <BR>> Is there any tutorial available somewhere ? What exactly is the <BR>> support for JavaScript? <BR>> <BR>> All our tests are planned to be written in xml (one main reason for <BR>> choosing Canoo) - is it possible to handle JavaScript this way? I have <BR>> seen some mails but nothing clear and at this stage I am confused <BR>> about this topic. <BR>> <BR>> We are not looking for anything complex with JavaScript (but it would <BR>> be nice) but rather small things that most websites have ("are you <BR>> sure" popup windows and such). <BR>> <BR>> If anyone has some links or emails for guidance I would greatly appreciated. <BR>> <BR>> Thanks. <BR>> <BR>> Costin <BR>> _______________________________________________ <BR>> WebTest mailing list <BR>> WebTest@lists.canoo.com <BR>> http://lists.canoo.com/mailman/listinfo/webtest </BLOCKQUOTE>
<!-- END WEBMAIL STATIONERY -->
</body>
</html>
--NextPart_Webmail_9m3u9jl4l_29959_1100815961_0--