类型'Microsoft.VisualStudio.TestTools的例外 [英] An exception of type 'Microsoft.VisualStudio.TestTools

查看:80
本文介绍了类型'Microsoft.VisualStudio.TestTools的例外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

过去一年来我一直在使用编码的UI.我没有使用过UIMAp,而是我对控件进行了手动编码.脚本运行得很好,但是从最近几天开始就失败了.错误类型为'Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException的异常' 发生在Microsoft.VisualStudio.TestTools.UITesting.dll中,但未在用户代码中处理"

I have been using coded UI for the past 1 year .I have not used UIMAp but instead I have hand coded the controls .The scripts were working just fine but started failing since the last couple of days.I get the error "An exception of type 'Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException' occurred in Microsoft.VisualStudio.TestTools.UITesting.dll but was not handled in user code"

该应用程序是基于桌面的应用程序.我能够突出显示主窗口.但是,我无法识别此应用程序的任何其他控件.

The application is a desktop based application .I am able to highlight the main window.However,I am unable to identify any other controls of this application.

我仍然感到困惑,因为相同的代码之前运行正常,但突然停止了工作.

I am still confused ,because the same code was working fine earlier and suddenly it stopped working.

期待您的支持.

推荐答案

您好Hajira Khan,

Visual Studio 2010和2012论坛中的测试工具"以获得更好的支持.

This forum is about the C# programming language, IDE, libraries, samples, and tools, as your issue is more related to the Test tools in Visual Studio, we help you move it to the Test Tools in Visual Studio 2010 and 2012 forum for better support.

最好的祝福,

Best Regards,

Albert Zhang

Albert Zhang


这篇关于类型'Microsoft.VisualStudio.TestTools的例外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆