Sha256: 6e30e885f2672f7bad29983c5cf795dff1d4952db1d722d1c8e7408395d8a3b3

Contents?: true

Size: 666 Bytes

Versions: 35

Compression:

Stored size: 666 Bytes

Contents

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

class TC_Form_Entertainment < Test::Unit::TestCase
  location __FILE__
  def setup
    uses_page "entertainment_com.html"
  end
  def test_bare_button
    assert_nothing_raised do
      browser.button(:src, Regexp.new('/images/button_continue.gif')).click 
    end
  end

  # http://jira.openqa.org/browse/WTR-80
  tag_method :test_button_in_form, :fails_on_ie
  def test_button_in_form
    assert_nothing_raised do
      browser.form(:name, 'shipaddress').button(:src, Regexp.new('/images/button_continue.gif')).click 
    end
  end
end 

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
commonwatir-1.9.0.rc3 unittests/form2_test.rb
commonwatir-1.9.0.rc2 unittests/form2_test.rb
commonwatir-1.9.0.rc1 unittests/form2_test.rb
commonwatir-1.8.1 unittests/form2_test.rb
commonwatir-1.8.1.rc1 unittests/form2_test.rb
commonwatir-1.8.0 unittests/form2_test.rb
commonwatir-1.8.0.rc1 unittests/form2_test.rb
commonwatir-1.7.1 unittests/form2_test.rb
commonwatir-1.7.0 unittests/form2_test.rb
commonwatir-1.7.0.rc1 unittests/form2_test.rb
commonwatir-1.6.7 unittests/form2_test.rb
commonwatir-1.6.7.rc1 unittests/form2_test.rb
commonwatir-1.6.6 unittests/form2_test.rb
commonwatir-1.6.6.rc2 unittests/form2_test.rb
commonwatir-1.6.6.rc1 unittests/form2_test.rb