Sha256: 00dfbc99de17db2417deead4db29fbfcb001827e253007d98f32387a8debea4a

Contents?: true

Size: 674 Bytes

Versions: 5

Compression:

Stored size: 674 Bytes

Contents

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'commonwatir', 'lib')
require 'test/unit'
require 'watir/ie'

class TC_NewProcess < Test::Unit::TestCase
  def test_new_process_single_window
    assert_nothing_raised {
      ie = Watir::IE.new_process
      ie.goto 'www.yahoo.com'
      ie.close
    }
  end
  def test_new_process_multiple_windows
    assert_nothing_raised {
      ie1 = Watir::IE.new_process
      ie1.goto 'www.yahoo.com'
      ie2 = Watir::IE.new_process
      ie2.goto 'www.google.com'
      ie1.close
      ie2.close
    }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
watir-3.0.0.rc3 unittests/windows/new_process_test.rb
watir-3.0.0.rc2 unittests/windows/new_process_test.rb
watir-3.0.0.rc1 unittests/windows/new_process_test.rb
watir-2.0.4 unittests/windows/new_process_test.rb
watir-2.0.3 unittests/windows/new_process_test.rb