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-3.0.0.rc3 unittests/form2_test.rb
commonwatir-3.0.0.rc2 unittests/form2_test.rb
commonwatir-3.0.0.rc1 unittests/form2_test.rb
commonwatir-2.0.4 unittests/form2_test.rb
commonwatir-2.0.3 unittests/form2_test.rb
commonwatir-2.0.2 unittests/form2_test.rb
commonwatir-2.0.2.rc1 unittests/form2_test.rb
commonwatir-2.0.1 unittests/form2_test.rb
commonwatir-2.0.0 unittests/form2_test.rb
commonwatir-2.0.0.rc3 unittests/form2_test.rb
commonwatir-2.0.0.rc2 unittests/form2_test.rb
commonwatir-1.9.2 unittests/form2_test.rb
commonwatir-1.9.2.rc1 unittests/form2_test.rb
commonwatir-1.9.1 unittests/form2_test.rb
commonwatir-1.9.1.rc1 unittests/form2_test.rb
commonwatir-1.9.0 unittests/form2_test.rb
commonwatir-1.9.0.rc7 unittests/form2_test.rb
commonwatir-1.9.0.rc6 unittests/form2_test.rb
commonwatir-1.9.0.rc5 unittests/form2_test.rb
commonwatir-1.9.0.rc4 unittests/form2_test.rb