user-interface - 与 Windows 应用商店应用程序的 UI 控件交互

标签 user-interface windows-store-apps windows-10 ui-automation autoit

我无法使用 AutoIt Window Information Tool 识别 Windows 应用商店应用程序的 UI 控件。以标准应用程序计算器 (Windows 10) 为例:

Not able to identify the button number 8

如您所见,它不显示按钮 8 的信息。我尝试了 x86 和 x64 版本。

如何与 Windows 应用商店应用程序交互?对于传统桌面应用程序,AutoIt 按预期工作。

最佳答案

不可能,AutoIt 开发者没有计划支持 UI Automation API。您可以在 Windows SDK 中找到 Inspect.exe 并在 UIA 模式下运行它,以与 AutoIt Info 工具进行比较。

还有一些其他工具支持 UIA(TestStack.White (C#)、Winium.Desktop (C#) 以及其他语言上的一些直接 UIA 包装器,例如 Python 上的 pyuiautomation)。 pywinauto 0.6.0添加了 MS UI 自动化支持。

UIA 对 AutoIt 的支持; 24 Apr 2009 AutoIt forum thread 。计划可能已更改,但这是 “AutoIt WPF 支持” Google 搜索的首要结果。

关于user-interface - 与 Windows 应用商店应用程序的 UI 控件交互,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37130985/

相关文章:

Java/Swing JButton 不显示其文本且不执行其操作

javascript - 如何实现 gmail 风格的标签选择器?

ios - 在 iOS 9 的一个 View Controller 上隐藏状态栏

reactjs - Windows 10/Ubuntu 上的 React 热模块替换

java - 如何通过单击按钮关闭 JFrame?

javascript - blend 2012 - 不要在后台运行整个应用程序

javascript - ListView不显示数据

visual-studio-2012 - 未找到 Microsoft.Windows.UI.Xaml.Common.Targets

c# - Windows 10 IoT - REST API 部署

c++ - Windows 10 特定崩溃调用 LeaveCriticalSection