RE[3]: [Webtest] JavaScript support (again)
Costin
webtest@lists.canoo.com
Fri, 19 Nov 2004 13:40:54 +0200
>Hi Costin,
>
>welcome to the community!
Glad to be here.
>
>We are just about to include what we call "JavaScript
>support for WebTest". The docs that you are looking for are not
>yet there. Please feel free to provide the text that you would
>like to see as docs.
Most of the docs I've seen on the site are good enough. Here is a small list:
1. How does webtest supports JavaScript (something like the
explanation you gave below) ?
a. explanation
b. simple example
c. medium example
d. links to docs, api or other existing sample tests
2. Internals
This should contain some hints about the advance functionality. Some
explanations or information from different mails gathered into one
place plus some links for people how want to customize their solution
for special cases.
a. explanation
b. reason behind the implemenation and solutions
c. how can things be extended/customized (ex: how can someone add
custom tags inside xml files)
d. what restrictions apply
c. links
3. troubleshooting
This will probably be completed in time; a section with common
problems and more important advices on how people can troubleshoot
javascript problems.
>
>"JavaScript support for WebTest" doesn't mean that you write
>any JS when writing your test. It means that when you
>retrieve an html page through WebTest, the JS that is
>contained in that page gets executed (e.g. the body onload
>function). Such a JS may change the page itself. The
>changed page is then accessible to WebTest features such
>as <verifytext .../>.
>That way, no JS is visible in your WebTest.
>To make things more complicated there actually also is
>a possibility to use JS inside WebTest through the
><script> step. see
>http://webtest-community.canoo.com/wiki/space/ScriptStep
I'll check the link ASAP.
However, is there any code that I can look at or deadline for the
release (this will help me schedule the current development task
better) ? I know that time is important and I don't want to bother ppl
for nothing...
Thanks.
Costin