Hi Lucas... Sorry .. didnt explain on how to use the code provided. There are 2 ways to use this -
1) Before the start of executing the testcases .. the framework starts the CertificateCheck process. The below is the code to start the process and continue executing the rest of the code (start executing the testcases)- IO.popen("#{DIR_WHERE_CERTFICATECHECK_IS_PRESENT}CertificateCheck") After all the testcases have executed ... kill the process. Use the below command - IO.popen("taskkill /f /im CertificateCheck.exe") 2) Start CertificateCheck by double clicking the exe (make sure the popup.lst file is present in the same directory as CertificateCheck).Then start executing your testcases. After all testcases have finished close the script (present in the system tray). Why run the process(security alert close script) separately? (independent of test script) When testing a webpage .. certificates can expire anytime ... also you are not testing the certificate cause qa env and prod env certificates would be different. So would be better to keep this part separate from your test script. Hence even if there are no certificate popups .. there would not be any changes to be made to the test script. -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 -~----------~----~----~----~------~----~------~--~---