unittests/radios_xpath_test.rb in watir-1.5.4 vs unittests/radios_xpath_test.rb in watir-1.5.5

- old
+ new

@@ -1,15 +1,15 @@ # feature tests for Radio Buttons -# revision: $Revision: 962 $ +# revision: $Revision: 1348 $ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'unittests/setup' class TC_Radios_XPath < Test::Unit::TestCase - include Watir + include Watir::Exception def setup - $ie.goto($htmlRoot + "radioButtons1.html") + goto_page "radioButtons1.html" end def test_Radio_Exists assert($ie.radio(:xpath, "//input[@name='box1']/").exists?) assert($ie.radio(:xpath, "//input[@id='box5']/").exists?)