处理意外的窗口 [英] Handle Unexpected windows
问题描述
您好
我正在使用CodeUITest来实现应用程序工作流程的自动化。根据提供给工作流程的输入,应用程序以不严重的意外窗口的形式向用户提示信息。 我们可以忽略它们并使用工作流程继续前进
。
I am using CodeUITest for automation of a workflow for an application. Based on the inputs provided to the workflow, application prompts information to the user in the form of unexpected windows which are not severe. We can ignore them and go ahead with the workflow.
我如何对codeUITest说再进一步处理这个意外的窗口和过程。有时我希望codeUITest失败,如果观察到一组输入的意外窗口。
How can i say to the codeUITest to handle this unexpected windows and procedure further. Sometimes i want the codeUITest to fail if this unexpected windows are observed for a set of inputs.
问候
Sumanth
推荐答案
您好
请看一下这篇文章< a href ="http://social.msdn.microsoft.com/Forums/en-US/vsautotest/thread/d7cc59ca-b968-4721-ae79-a966b4d81175">
http://social.msdn.microsoft .com /论坛/ zh-CN / vsautotest / thread / d7cc59ca-b968-4721-ae79-a966b4d81175 。
简而言之,这不是在CUIT内建,你需要编写代码来处理这样的窗口。
In short this is not inbuild in CUIT, you need to write code to handle such windows.
谢谢
Siddhartha
Siddhartha
这篇关于处理意外的窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!