我正在为自定义控件实现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. (Ifyou ínspecta 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
发布评论