视觉工作室2017年Enterprize [英] visual studio 2017 Enterprize

查看:57
本文介绍了视觉工作室2017年Enterprize的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我是一个新的测试窗口计算器,当我录制它现在工作正常错误。但是当我写手写代码时,它会给我错误消息,任何人都可以帮助我

Hi I am a new and testing window calculator when I do recording it is working fine now error. But when I write handcoded it give me Error message is any one can help me please

消息:测试方法CodedUITestCalculator2.CodedUITest1.CodedUITestMethod1引发异常:


Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException:播放无法找到具有给定搜索属性的控件。其他详细信息:


TechnologyName:  'MSAA'

姓名:  '计算器'

ClassName:  'CalcFrame'

  ---> System.Runtime.InteropServices.COMException:错误HRESULT E_FAIL已从调用COM组件返回

Message: Test method CodedUITestCalculator2.CodedUITest1.CodedUITestMethod1 threw exception:
Microsoft.VisualStudio.TestTools.UITest.Extension.UITestControlNotFoundException: The playback failed to find the control with the given search properties. Additional Details:
TechnologyName:  'MSAA'
Name:  'Calculator'
ClassName:  'CalcFrame'
 ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component

推荐答案

朋友,

如果您手动编码,请与我们分享您的代码示例,然后您可以尝试对其进行调试,并指出哪一行抛出异常。 

If you hand coded it please share us your code sample, and you could try to debug it and pointed out which line threw the exception. 

感谢您的理解与合作。

 

问候,

Fletcher


这篇关于视觉工作室2017年Enterprize的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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