I have a question regarding the genericDialog in Silverlight application. I have the following scenario:
If I launch the Silverlight Application and the genericDialog appears (it means the error appears), the test fails; if not, the test passes.
Telerik Test Studio Generates the following code:
GenericDialog genericDialog = new GenericDialog(ActiveBrowser, "", true, "");
genericDialog.ButtonId = 2;
Manager.DialogMonitor.AddDialog(genericDialog);
ActiveBrowser.NavigateTo("testurl");
genericDialog.WaitUntilHandled(5000); ----how to handle this one using if else condition?
Do you have any idea about how to use if else condition in genericDialog.WaitUntilHandled(5000)?
Thanks so much!