Hi et all, Have noticed a lot of questions on how to handle the security alert window (Certificate expired window in IE), and thought would share the below- Have added an attachment- CertificateCloser.zip The below files are present- CertificateCheck.exe CertificateCheck.au3 Popup.lst
CertificateCheck.exe is the compiled autoit script. It takes the Popup.lst file from the current directory or takes an argument(path to the popup.lst file). CertificateCheck.au3 The code for review or modification. Popup.lst contains the below (make sure you end with an empty line) "Security Alert,1 " The first entry is the Window title, button_id Hence you can add more window titles and button_ids to close. Also each time the popup.lst is updated, the script need not be closed, it picks up the latest window data from the file. -Tony --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---