#require 'unittests/setup' require 'test/unit' require 'watir' require 'watir/WindowHelper' class TC_Logon_Test < Test::Unit::TestCase def setup @url = 'http://localhost/basic_auth/' # 接続する URL により異なる # @login_title = "Connect to #{@url}" @login_title = "localhost に接続" @username = 'taro' @password = '1234' end def test_logon a = Thread.new { system("ruby handle_logon.rb \"#{@login_title}\" \"#{@us