Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
rWebUnit extends Watir (or FireWatir) to help your write maintainable acceptance tests for web applications
Ruby
branch: master

handle null value

latest commit 71f5423515
Zhimin Zhan authored
Failed to load latest commit information.
bin update rwebunit test to work with IE
lib handle null value
samples use syntax
spec 1.3.1 RC, better handling dumpe page source
.gitignore update git ignore list
CHANGELOG 1.3.1 RC, better handling dumpe page source
MIT-LICENSE fixed go_back, go_forward
README update rwebunit test to work with IE
Rakefile
SolutionLog Import 0.8.7 from SVN
rwebunit.tmproj 1.3.1 RC, better handling dumpe page source

README

rWebUnit wraps the popular web testing framework WATIR with RSpec Syntax to provide better easy to read automated web test cases. By using iTest/Watir recorder, the rWebUnit test scripts can be recorded in Firefox. iTest2 makes editing/executing test cases with ease. 

Sample rWebUnit Test:

require 'rwebunit'

spec "Locate a Suncorp Branch" do
  include RWebUnit::RSpecHelper

  before(:all) do
    open_browser_with("http://suncorp.com.au/")
  end

  before(:each) do
    goto_page("/locator")
  end

  after(:all) do
    close_browser
  end

  scenario "Find by extended trading hours" do
    checkbox(:id, "OpenExtendedTradingHoursSerivceId").click # using Watir directly
    enter_text("Postcode_Locator__Postcode", "4061") 
    click_button_with_image("search_button.gif")
    page_source.should include("Queen St Mall")  
  end
end


iTest2 Homepage: http://www.itest2.com
  
Something went wrong with that request. Please try again.