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.*;
import static watij.symbols.Symbol.*;
public class GoogleTest extends TestCase {
public void testGoogleSearch() throws Exception {
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/" ));
}
}
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
