[Wtr-general] Java port of watir
Jonathan Kohl
jkohl at telusplanet.net
Fri Apr 28 19:05:11 EDT 2006
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: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Jake Dempsey
Sent: April 28, 2006 4:18 PM
To: wtr-general at rubyforge.org
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 <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 <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
<http://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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060428/f05558e1/attachment.html
More information about the Wtr-general
mailing list