Very cool.  I've been helping a similar effort in C# which is getting off the ground nicely.
 
My dream in pre-Watir days was to have multiple tools in different programming languages.  As I believe Bret said, the best language for testing is the one the programmers use. :)
 
-Jonathan


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jake Dempsey
Sent: April 28, 2006 4:18 PM
To: [email protected]
Subject: [Wtr-general] Java port of watir

Myself and a colleague(Brian Knorr) have created a new automation framework called watij.  Its watir............but in java.  We actually have written the framework to use roughly the same api as watir.  For example, a full test in watij looks like:
 
import junit.framework.TestCase;
import static watij.symbols.Symbol.*;
 
public class GoogleTest extends TestCase {

    public void testGoogleSearch() throws Exception {
       IE ie = new IE();
        ie.start("http://www.google.com");
        ie.textField(name, "q").set("XWiki");
        ie.button("Google Search").click();
        assertTrue(ie.containsText( "/Java wiki engine/" ));
    }

}
 
We have released a beta version and you can read more at http://watij.xwiki.com We have linked to watir on our site and have also stated that watij is watir.........but in java.  We love the flexibility and robustness of watir but wanted a pure java version.  We would love to get feedback from anyone.  The waij.xwiki.com site has a quick guide to get started and watij is also packaged with a preconfigured version of beanshell that allows you to get started prototyping immediately. We have also setup a google group for watij: http://groups.google.com/group/watij
 
Jake Dempsey
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to