【问题标题】:How to Inspect/Find an element in WPF for Automation Testing using Selenium Winium如何在 WPF 中检查/查找元素以使用 Selenium Winium 进行自动化测试
【发布时间】:2026-02-09 02:45:01
【问题描述】:

我需要使用 Winium 自动测试 WPF 应用程序。 我无法 Inspect Element 使用 Windows InspectorUISPY

是否有任何其他工具可以帮助我检查 WPF 应用程序的元素功能?

【问题讨论】:

    标签: .net wpf wpf-controls wpftoolkit winium


    【解决方案1】:

    您可以在link 中找到许多 GUI 检查工具。

    如:

    • AccEvent.exe,
    • AccExplorer32.exe,
    • 检查.exe,
    • SPYXX.EXE,
    • swapy-ob-0.4.3.exe,
    • UISpy.exe,
    • ViewWizard.exe,
    • WSEdit.EXE.

    【讨论】: