unittests/other/WindowLogonExample.rb in watir-1.5.6 vs unittests/other/WindowLogonExample.rb in watir-1.6.2
- old
+ new
@@ -1,13 +1,13 @@
-$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/WindowHelper'
class TC_Logon_Test < Test::Unit::TestCase
include Watir
def goto_windows_login_page
- $ie.goto('http://clio.lyris.com/')
+ browser.goto('http://clio.lyris.com/')
end
def test_window_logon
\ No newline at end of file