UI自动化与MSAA [英] UI Automation vs. MSAA

查看:553
本文介绍了UI自动化与MSAA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为自定义控件实现UI自动化。我已经实现了所需的激励器,但问题是,CUIT的Builder和Replay功能 - Builder搜索MSAA-Attributes而不是"UI Automation"-Attributes。
(如果您í nspect 带有"检查对象"的程序,您可以选择是否要查看"MSAA"-Attributes或"UI Automation"-Attributes)


是否有可能告诉记录/重放事物搜索UI自动化 - 属性或设置MSAAA属性是否正确?!


提前致谢!

Claus

解决方案

您的自定义控件的基础技术是什么?编码的UI测试默认使用MSAA进行winforms控件和UIA进行WPF控件。这是根据控件的类名决定的。


今天无法明确指导编码UI测试的可访问性路径(MSAA / UIA)。


I am implementing UI Automation for custom controls. I already have implemented the needed proviers but the problem is, that the Record and Replay function of the CUIT - Builder searches for the MSAA-Attributes and not for the "UI Automation"-Attributes. (If you ínspect a program with "Inspect Objects" you can choose if you wanna see "MSAA"-Attributes or "UI Automation"-Attributes)

Is there a possibility to either tell the record/replay-thing to search for the UI Automation - Attributes or to set the MSAAA-Attributes correct?!

Thanks in advance!
Claus

解决方案

What is the underlying technology for your custom control ? Coded UI Test uses MSAA for winforms controls and UIA for WPF controls by default. This is decided based on the class name of the control.

Today it is not possible to guide the accessibility path (MSAA/UIA) for Coded UI Test explictly.


这篇关于UI自动化与MSAA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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