Hi,

#--- test file
require 'test/unit'
require 'watir'
class Check < Test::Unit::TestCase
  def test_check
    ienw = Watir::IE.new()
    ienw.goto("www.aol.com")
    ienw.close
  end

  def test_fail
    puts "started second test "
    ienw1 = Watir::IE.new()
    ienw1.goto("www.google.com")
    ienw1.close
  end
end
# ---- eof

When running the above file, the first test opens aol.com and closes
it.
The second test doesnt open google.com but instead opens aol.com in
another 20 or 30 windows. <expected open google.com>
I have tried this in 2 other systems and i see the same behaviour.

The interesting part is, if i replace aol.com from the 1st testcase to
some other website .. both the testcases work fine.

Could someone explain what actually is happening here?
Config: win xp2,  watir 1.5.6, ruby 1.8.6 (2007-09-24 patchlevel 111)
[i386-mswin32]

-Tony
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to