Hi,
Thanks for the reply.
The code looks like this:
Manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle;
Log.WriteLine(Find.ById<HtmlInputCheckBox>("ScheduleList_ctl00_ctl04_ScheduleSelectSelectCheckBox").Value);
//Click on RemoveSelected button
Find.ById<HtmlInputSubmit>("delete2").Click();
//Handle Alert Dialog
Manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle;
AlertDialog altDlg = new AlertDialog(ActiveBrowser, DialogButton.OK);
Manager.DialogMonitor.AddDialog(altDlg);
Manager.DialogMonitor.Start();
//altDlg.WaitUntilHandled(1000);
Manager.DialogMonitor.RemoveDialog(altDlg);
