CUIT可扩展性 [英] CUIT Extensibility

查看:113
本文介绍了CUIT可扩展性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi

以下是我对使用MSAA / UIA识别和执行操作的CUIT框架的理解。

" CUIT内置了三个插件,Web,WPF和MSAA。 MSAA用于winforms / win32。用于WPF控件的WPF。用于HTML控件的网站"

可扩展性问题:如果我修改了技术赢得从MSAA到UIA的表格控制,它被认为是WPF控制。 所以我理解CUIT是由用于识别而不是原始类型的
技术驱动的,即FrameWorkID(在UIA命名法中) 它属于。

我现在对HTML控件没有任何问题。所以说我没有在Web应用程序上测试CUIT。但我很想知道用于HTML控件的技术是什么。 [MSAA / UIA / ???]

我读了很多关于
Windows Automation API 3.0 ,他们谈论MSAA和UIA之间的桥梁,它与大多数兼容
操作系统。

为什么该CUIT没有使用此功能可用于vista和Windows  7默认情况下。在Windows XP sp3中,他们提供了一个与vista
和windows7一致的修复工具。

所以我不明白为什么CUIT不符合微软在自动化方面所做的其他开发,如Window Automation  API 3.0。

谢谢,

Sumanth

 

 

 

 

推荐答案

-   ; IE插件使用mshtml。

- IE plugin uses mshtml.

- 我们之所以选择MSAA(从另一个线程剪断)。

- The reason why we chose MSAA (snipped from another thread).

" Win32 \ Windows表单控件本机支持MSAA而非UIA,而WPF本机支持UIA。 这就是使用MSAA for Win32 \ Windows Forms和UIA for WPF的原因。  UIA和MSAA有MSAA。反之亦然转换可通过内置于proxy \ bridge的
获得,但这是一个额外的依赖层,可能会影响性能等。



当你使用UIA for Windows Forms,它只是将窗口的ControlName属性映射为AutomationId。 编码的UI测试生成器也使用此ControlName属性(如果存在)。"

"The Win32\Windows Forms control natively supported MSAA and not UIA whereas WPF supports UIA natively.  This is the reason for using MSAA for Win32\Windows Forms and UIA for WPF.  There is MSAA to UIA & vice-versa conversion available via built in proxy\bridge but that is an extra layer of dependency which could eat into performance etc.

When you use UIA for Windows Forms, it just maps ControlName property of the window as AutomationId.  The Coded UI Test Builder also uses this ControlName property if it is present."


这篇关于CUIT可扩展性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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