简体   繁体   English

MS UI自动化-自定义DataGrid

[英]MS UI automation - Custom DataGrid

currently i am working on automating one of my .net based application using WPF(in Excel vba).UI spy is not recognizing one of the control(Grid) as an object.Is there any way to select an item from Grid which is not identified by UI spy. 目前我正在使用WPF(在Excel vba中)自动化基于.net的应用程序之一.UI间谍无法将控件(Grid)中的一个识别为对象。是否有任何方法可以从Grid中选择一个项目而不是由UI间谍识别。

Thanks in advance Regards 在此先感谢

You can try Snoop for identifying the UI controls. 您可以尝试使用Snoop来识别UI控件。 This is the codeplex link for downloading it. 是下载它的Codeplex链接。

Snoop has worked for me in a lot of cases where UI Spy had given up. Snoop在UI Spy放弃的很多情况下为我工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM