Hi Telerik Support Team,
In our application we have the following scenario which need to be verified:
User enter a value into some input text box and change focus to another control. After verification JavaScript alert appears on the screen.
In code it looks like:
01 var alertDialog = AlertDialog.CreateAlertDialog(Manager.Current.ActiveBrowser, DialogButton.OK);
02 Manager.Current.DialogMonitor.AddDialog(alertDialog);
03 Manager.Current.DialogMonitor.Start();
04 DateInputBox.Focus();
05 DateInputBox.Value = "01/01/20014";
06 DateInputBox.InvokeEvent(ScriptEventType.OnChange);
07 DateInputBox.InvokeEvent(ScriptEventType.OnBlur);
08 alertDialog.WaitUntilHandled(15000);
During line 06 execution JavaAcript Alert appers and script hangs on the 06 line for a long time. The only one solution is to stop test execution.
Do you have any suggestion how to implement the scenario?
In our application we have the following scenario which need to be verified:
User enter a value into some input text box and change focus to another control. After verification JavaScript alert appears on the screen.
In code it looks like:
01 var alertDialog = AlertDialog.CreateAlertDialog(Manager.Current.ActiveBrowser, DialogButton.OK);
02 Manager.Current.DialogMonitor.AddDialog(alertDialog);
03 Manager.Current.DialogMonitor.Start();
04 DateInputBox.Focus();
05 DateInputBox.Value = "01/01/20014";
06 DateInputBox.InvokeEvent(ScriptEventType.OnChange);
07 DateInputBox.InvokeEvent(ScriptEventType.OnBlur);
08 alertDialog.WaitUntilHandled(15000);
During line 06 execution JavaAcript Alert appers and script hangs on the 06 line for a long time. The only one solution is to stop test execution.
Do you have any suggestion how to implement the scenario?