quality@glassfish.java.net

Re: test framework for javascript

From: Lidia <lidia_at_sun.com>
Date: Fri, 13 Oct 2006 10:53:30 -0700

Hey Sailaja

I'm working on automating tests for JSF. There are many frameworks out
there that support javascript, or claim to support it. I was hoping to
hear some opinions on any of them from people who have already tried
them, so that I would not have to go through the exercise of checking
out each and every one myself... Anyhow, thanks for the pointer.

lidia


Sailaja Rao wrote:
> are you working on web 2.0 ? how come you are looking for javascript
> automation ? anyway, I heard mercury tools (winrunner) supports
> javascript.
>
> -sailaja
>
>
> Lidia wrote:
>
>> Hi
>>
>> I'm looking for a test framework for automating tests exercising a
>> lot of javascript.
>>
>> Our first choice was HtmlUnit however, since it tries to mimic a
>> browser, it does not handle some javascript properly (e.g. it has
>> problems with hidden fields). I also looked at Selenium IDE. It
>> provides a nice, quick way of recording tests and is a free
>> alternative to SilkTest. Selenium RC is supposed to work for
>> automation, however I haven't had a chance yet to check how well it
>> will work with our ant framework.
>>
>> If anyone has any comments regarding javascript testing frameworks
>> mentioned above or other, that we could use, pluses/minuses for their
>> use, etc, please let me know.
>>
>> thanks
>> lidia