Cross-Hair无法识别应用程序的控制 [英] Cross-Hair cannot identify the control of the application
问题描述
在我的应用程序中,有一些按钮,Coded UI Test构建器无法识别(我移动)按钮上的十字准线,但它什么都没找到)。但是使用UISpy我可以得到按钮。
在UISpy中,对象如下:
窗口
  ;自定义
标签
tabitem1
tabitem2
... ...
tabitemN
group
listItem1
listItem2
按钮(编辑)
和Coded UI测试构建器只能获取TabItem的内容,而之后的对象无法获取
当我将鼠标移到按钮上并尝试使用win键+我得到,它显示控件不可用或无效
对此有什么看法?
先谢谢你!
xu
哪种技术是控件?它是WPF还是WinForms?
你使用的是第三方控件吗?
你能否使用导航控件从tabitem向下移动 -
http://blogs.msdn.com/b/mathew_aniyan/archive/2010/01/13/coded -ui测试尖的最天-2-使用最导航拨号到移动 - 环绕 - 内式UI-tree.aspx
Hi ,
in my application, there is some button that Coded UI Test builder cannot identify(I move the cross-hair over the button, but it find nothing). But using UISpy I can get the button.
in UISpy, the object is like below:
window
custom
tab
tabitem1
tabitem2
...
tabitemN
group
listItem1
listItem2
button(edit)
and the Coded UI Test builder can only get the content of TabItem, while the object after that it cannot get
when I move mouse over the button and tried to use win key + I to get, it showed that the control is not available or not valid
any idea about this?
thank you in advanced!
xu
Which technology are the controls? Is it WPF or WinForms?
Are you using any 3rd party controls?
Can you use the navigation controls to move from the tabitem and downwards - http://blogs.msdn.com/b/mathew_aniyan/archive/2010/01/13/coded-ui-test-tip-of-the-day-2-use-the-navigation-dial-to-move-around-in-the-ui-tree.aspx
这篇关于Cross-Hair无法识别应用程序的控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!