Leanft 15.0.2没有在MSEDGE中识别网络元素

发布于 2025-02-01 20:41:55 字数 371 浏览 0 评论 0 原文

我们正在使用与C#的Leanft来自动化我的示例Web应用程序,该应用仅在IE中大量使用。由于Microsoft正在以IE结束支持,因此我们将测试移至MSEDGE,当时有某些组件将在浏览器中加载,并且仅当我启用Edge浏览器即可使用 IE Server Mode

现在IE服务器模式已在MSEDGE上启用,浏览器正在启动,并且URL正在导航。但是,当我们启用对象间谍来识别我或文件的元素时,浏览器视图窗口被完全显示为Ieserverwindow(即标准桌面窗口),并且无法识别网络元素,

  • 我已经通过手动加载未包装的手动加载了浏览器上的UFT扩展程序。 Edge上的扩展
  • 添加了Nativemessgaing -Host键

We are using LeanFT with C# to automate my Sample Web Application which is heavily used in IE only. Since microsoft is ending support with IE, we are moving the tests to MSEdge where there are certain components which will be loaded in Browser if and only if I enable the EDGE browser to use IE server mode

Now once the IE Server mode is enabled on MSEdge, the browser is launching and the URL is being navigated. But when we enable Object spy to identify an element for my OR file, the browser view window is completely shown as IEserverWindow ( i.e Standard Desktop Windows ) and the web elements can't be identified

  • I had enabled UFT extension on browser by manually loading unpacked extension on Edge
  • Added the NativeMessgaingHost key

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文