In my testsuite I have passed my IE instance to a variable
$ie and i have been using mostly Watir commands with that
variable
as in 
...
 def test_03_add_asset
   ...
   $ie.frame("main").image(:src, /add_asset/).click
   ...
 end
...

but on my last test case I need to close a confirmation
popup. I included WET and tried both
Browser("title:=Microsoft Internet
Explorer").Button("value:=OK").click 
and
$ie.Browser("title:=Microsoft Internet
Explorer").Button("value:=OK").click 
but in both cases that didn't work. How can I instruct the
Browser command to use the same ie instance?

thanks
  


        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to