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

- old
+ new

@@ -1,15 +1,15 @@ # feature tests for Text Fields -# revision: $Revision: 962 $ +# revision: $Revision: 1348 $ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ require 'unittests/setup' class TC_Fields_XPath < Test::Unit::TestCase - include Watir + include Watir::Exception def setup - $ie.goto($htmlRoot + "textfields1.html") + goto_page "textfields1.html" end def test_text_field_exists assert($ie.text_field(:xpath , "//input[@name='text1']/").exists?) assert(!$ie.text_field(:xpath , "//input[@name='missing']/").exists?)