Sha256: 1c258a04dd61f0260fc90443e6357869eb4c75bed2da5742bc9753e22aa8f84e

Contents?: true

Size: 410 Bytes

Versions: 9

Compression:

Stored size: 410 Bytes

Contents

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED
require 'unittests/setup'

class TC_Browser < Test::Unit::TestCase
  location __FILE__

  def setup
    uses_page "utf8.html" # could be any page really
  end 

  def test_status_returns_window_status
    browser.execute_script "window.status = 'All done!'"
    assert_match /done/i, browser.status
  end

end


Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
commonwatir-1.8.0.rc1 unittests/browser_test.rb
commonwatir-1.7.1 unittests/browser_test.rb
commonwatir-1.7.0 unittests/browser_test.rb
commonwatir-1.7.0.rc1 unittests/browser_test.rb
commonwatir-1.6.7 unittests/browser_test.rb
commonwatir-1.6.7.rc1 unittests/browser_test.rb
commonwatir-1.6.6 unittests/browser_test.rb
commonwatir-1.6.6.rc2 unittests/browser_test.rb
commonwatir-1.6.6.rc1 unittests/browser_test.rb