【问题标题】:WinAppDriver does not detect controls/component in LabVIEW executableWinAppDriver 未检测 LabVIEW 可执行文件中的控件/组件
【发布时间】:2020-08-05 17:23:42
【问题描述】:

我正在使用 WinAppDriver 来自动化我的 LabVIEW 应用程序 UI 测试。 Inspect.exe 可以检测到活动窗口的顶层,但无法在窗口内定位元素。 所以我无法在窗口内获取文本。有谁知道我怎样才能得到文本?

谢谢! 玛丽

【问题讨论】:

  • 正如 WinAppDriver 所说,“该服务支持在 Windows 10 电脑上测试通用 Windows 平台 (UWP)、Windows 窗体 (WinForms)、Windows Presentation Foundation (WPF) 和经典 Windows (Win32) 应用程序。” .所以这个工具可能不太支持LabVIEW可执行文件......

标签: windows element labview winappdriver inspect.exe


【解决方案1】:

如前所述,标准 UI 自动化工具不适用于 LabVIEW 编写的程序。但是,还有其他解决方案,例如LabVIEW UI Automation Tool。你应该看看这个,它可能对你有帮助。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-08-25
    • 1970-01-01
    • 2010-10-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多