README.txt in celerity-0.0.2 vs README.txt in celerity-0.0.3

- old
+ new

@@ -2,40 +2,49 @@ * http://celerity.rubyforge.org/ == DESCRIPTION: - Celerity is a JRuby/RJB wrapper around the HtmlUnit Java library (http://htmlunit.sourceforge.net/). - The goal of the project is to implement the Watir API (http://wtf.rubyforge.org/) on top of HtmlUnit. +Celerity is a JRuby library for easy and fast functional test automation for web applications. +It is a wrapper around the HtmlUnit Java library and is currently aimed at providing the same API and functionality as Watir. - == FEATURES: * Fast: No time-consuming GUI rendering or unessential downloads * Scalable: Java threads lets you run tests in parallel * Easy to use: Simple API * Portable: Cross-platform * Unintrusive: No browser window interrupting your workflow (runs in background) == SYNOPSIS: - require 'rubygems' - require 'celerity' +require 'rubygems' +require 'celerity' + +browser = Celerity::IE.new +browser.goto("google.com") +browser.text_field(:name, 'q').set("celerity") +browser.button(:name, 'btnG').submit - browser = Celerity::IE.new - browser.goto("google.com") - browser.text_field(:name, 'q').set("celerity") - browser.button(:name, 'btnG').submit - == REQUIREMENTS: * JRuby 1.1 * Java 6 == INSTALL: * jruby -S gem install celerity + +== EXAMPLE: +require "celerity" + +browser = Celerity::Browser.new +browser.goto('http://www.google.com') +browser.text_field(:name, 'q').value = 'Celerity' +browser.button(:name, 'btnG').click + +puts "yay" if browser.text.include? 'celerity.rubyforge.org' == LICENSE: Celerity - JRuby wrapper for HtmlUnit Copyright (c) 2008 FinnTech AS \ No newline at end of file