欢迎访问 situelie 的个人空间

我的论坛主题

  • WatiN 如何处理弹出警告

    2009-12-14 10:03:38   /   [开源测试工具]

    js弹出警告对话框,用过两种方法无效,请高手帮助方法1:IE ie = new IE("http://10.0.13.35:5016/claim/");HtmlDialog myModalHandler;ie.Button(Find.ByName("imageField")).ClickNoWait();myModalHandler = ie.HtmlDialog(Find.ByTitle("Are you having fun?"));myModalHandler.Close();方法2:IE ie = new IE("http://10.0.13.35:5016/claim/");AlertDialogHandler myHandler = new AlertDialogHandler();ie.Button(F.
Open Toolbar