I am writing some auto test codes to my Silverlight application. I am testing the "save as file" function. Before prompts the save as dialog, Browser (I am using IE) will prompts a "File download - security warning" dialog due to security concern. After I click the "ok" button, the save as dialog present and I can choose the location to save the file. How can Testing Framework deal with this security warning dialog? I have tried the GenericDialog, but I cannot simulate the action of clicking "ok" button so that the save as dialog never appears. Could anyone give me some hints to solve this problem? Thank you!