In order to handle JavaScript dialog using WebAii I used following command
manager.DialogMonitor.AddDialog(new AlertDialog(manager.ActiveBrowser,DialogButton.OK)); // Dialog which clicks on OK button
manager.DialogMonitor.Start();
manager.ActiveBrowser.Actions.Click(Element) // Click on link
No comments:
Post a Comment