使用 'internet explore server' 的 winObject 自动化 wpf 应用程序

Automating wpf application with winObject of 'internet explore server'

如何强制 HP UFT 将浏览器内的对象识别为 DOM 而不是 WPF 对象?该应用程序是在 WPF 应用程序(SAP 代理)中显示的 SAPUI5 javascript 网页。 Object spy 将 nativeclass 描述为:Internet Explorer_Server

活动加载项: 网络(SAPUI5、SAPWebExt) WPF

HP-UFT 将父 window 识别为 WPF,并且仅捕获基于 WPF 对象模型的对象。 Web/DOM 个对象被忽略。

作为解决方法,我正在使用 Click(x,y) / 低级记录。

HP-UFT 将检测浏览器 dom 对象,如果应用程序是使用 "Register New Browser Control" 注册的。

答案由James Xue in post in the HPE\MicroFocus community forums: Browser Controls inside of Applications

提供