unittests/other/screen_capture_test.rb in watir-1.5.6 vs unittests/other/screen_capture_test.rb in watir-1.6.2

- old
+ new

@@ -1,18 +1,19 @@ # feature tests for screen capture # revision: $Revision:1338 $ -$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE__ +$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') unless $SETUP_LOADED require 'unittests/setup' require 'watir/screen_capture' class TC_Capture< Test::Unit::TestCase + tags :must_be_visible include Watir include Watir::ScreenCapture def setup delete_captured_files( [ 'jpeg1.jpg' , 'jpeg2.jpg' , 'bmp1.bmp', 'bmp2.bmp' ] ) - $ie.goto($htmlRoot + 'buttons1.html' ) + browser.goto($htmlRoot + 'buttons1.html' ) @file_list = [] end def teardown delete_captured_files