Hello to everyone!. How to click Yes button in this popup? Where can I find this popup? Manager.Browsers.Count returns 1. Also I tried with no luck to search it in ActiveBrowser.Window.AllChildren collection.
GenericDialog storageDialog = newGenericDialog(ActiveBrowser, string.Empty, true, "Yes", string.Empty); // Click on the Yes button
The dialog closes, but looks it presses wrong button, because storage remains the same and doesn't increase. Do you have any ideas why this happens?
answered on 08 Aug 2012, 08:17 PM
I apologize for the delay getting back to you on this.
We're wondering if the cause of the error message really should be managed by correct testing environment configuration to begin with. In other words avoid getting this dialog in the first place by setting up your test machine as needed before running Test Studio tests. Then you won't need to handle the dialog during the test.
Since we don't know how to create this dialog, we're not able to guarantee you a solution. Our best guess is this:
new GenericDialog(ActiveBrowser, “Microsoft Silverlight”, “Yes”, false)