编码的UI不识别窗口网格的子对象 [英] Coded UI doesn't identify child object of window grid

查看:75
本文介绍了编码的UI不识别窗口网格的子对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,


我正在使用Visual Studio 2010和编码用户界面来自动化Windows应用程序。


我是面临Coded UI构建器无法识别窗口网格的子对象的问题。表格格式的值有需要读取的行和列,但是编码的UI没有到达它们,甚至窗口的子计数也显示为0.


请建议一个解决此问题的解决方案。


谢谢,


Shubham





解决方案

嗨  Shubham21


声音像你的网格可能是一个自定义控件。  如果是这样,您需要让作者实现MSAA或UIA残障界面,Coded UI依赖该界面与被测试的应用程序进行交互。


HTH


Hi Team,

I am using Visual Studio 2010 and  Coded UI to automate a windows application.

I am facing an issue in which Coded UI builder doesn't identify child objects of window grid. There are values in tabular format as rows and columns which needs to be read , but Coded UI doesn't reach to them and even child count of window is shown as 0.

Please suggest a solution to resolve this issue.

Thanks,

Shubham


解决方案

Hi Shubham21

Sounds like your grid maybe a custom control.  If so you'll need to get the author to implement either the MSAA or the UIA Disability Interfaces which Coded UI relies on to interact with the application under test.

HTH


这篇关于编码的UI不识别窗口网格的子对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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