0
我似乎无法得到它!如何使用WatiN测试jQuery UI对话框?
第一次尝试失败:
string url = "http://jquery_ui_dialog.aspx";
IE jQueryDialog = IE.AttachTo<IE>(Find.ByUrl(url));
第二次尝试失败:
Process[] processes = Process.GetProcessesByName("iexplore");
foreach (Process p in processes)
{
if (p.MainWindowTitle == url + " - Microsoft Internet Explorer")
{
// this doesn't find it.
}
}
第三次尝试的魅力?