Hi Kui, I had also problems with that. I have installed the script AutoIT because it identifies instances of buttons. After that my script is working with popups. This is how it looks like
autoit = WIN32OLE.new('AutoItX3.Control') autoit.WinWaitActive("File") #File Download window autoit.ControlClick("File","","[CLASS:Button;TEXT:&Cancel;INSTANCE:3]") I found that when there is popup with title File Download then OK button is with instance = 1 Save button is with instace =2 Cancel button is with instance =3 Hope it will work for you Br, Sfistak _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general