Stas Ostapenko wrote: > After I decided to test our application i'm was looking > something like http client with js support (and AJAX > features). I had a look at HttpUnit - as i saw it's have a > limited js support (am i wrong ?). Starting from srcratch I > have considered commons-httpclient... but how about > JavaScript ? I have found Rhino - an open-source > implementation of JavaScript written entirely in Java. So, > it's probably can work for me. At other side I can try to > write firefox extension (i have a little experience in this > field) for forcing browser to walk around my web-application > and POST-ing test data. Also i have found The AJAX Toolkit > Framework (ATF) Project at > http://www.eclipse.org/proposals/atf/. But > it's only proposal > now.
HttpUnit uses Rhino for its javascript support. The problem is principally that Rhino tries to implement the EcmaScript spec, which is not at all what Internet Explorer does. There are significant differences, especially in the Document Object Model. You'll run into the same issue when testing with Firefox. Since you're running on Linux, IE is not an option, and Watir is not yet an option. Perhaps Selenium (http://www.openqa.org/selenium/) would help. - George http://wwwidiacomputing.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]