Skip to content

Use WinAppDriver for test automation of desktop applications: https://github.com/microsoft/WinAppDriver #2073

Open

Description

No description provided.

Activity

  1. darianmiller commented on Mar 9, 2026

    @darianmiller
    Author

    Research anyone publishing a blog or GitHub/GitLab/CodeBerg repo that is using WinAppDriver for testing Delphi applications and provide links with short description in a markdown file.

    It contains links to blogs, discussions, and repositories referencing WinAppDriver usage with Delphi or generic Win32 apps plus a short description of each.

    Note: There are very few public examples specifically for Delphi, which itself is an interesting finding. Most references appear in issues, discussions, or generic Win32 automation examples, since WinAppDriver interacts via Windows UI Automation rather than language-specific APIs.

    WinAppDriver Resources for Testing Delphi Applications

    This document collects publicly available resources (blogs, repositories, discussions) referencing the use of WinAppDriver for testing Delphi / Win32 desktop applications or closely related Windows desktop automation scenarios.

    WinAppDriver works through the Windows UI Automation framework and therefore can automate most Windows applications regardless of implementation language (Delphi, WinForms, WPF, VB6, etc.).

    Repositories
    Microsoft WinAppDriver

    https://github.com/microsoft/WinAppDriver

    Description

    Official Microsoft project implementing a WebDriver-compatible automation server for Windows desktop applications. It supports automation of Win32, UWP, WinForms, and WPF applications via Selenium/Appium-style APIs.

    Useful for Delphi developers because classic Win32 applications (including VCL) can be automated through the Windows accessibility layer.

    Applitools WinAppDriver Examples

    https://github.com/applitools/WinAppDriver-Examples

    Description

    Example test projects demonstrating WinAppDriver automation with Selenium/Appium frameworks. Includes example test setups and infrastructure for desktop UI testing pipelines.

    These examples target generic Windows applications but are applicable to Delphi applications that expose accessibility metadata.

    UKHO WinAppDriver Demo

    https://github.com/UKHO/winappdriver-demo

    Description

    A demo project showing how to build a Windows UI automation test pipeline using WinAppDriver. Includes examples of launching applications, interacting with UI elements, and running tests in CI environments.

    Primarily demonstrates the structure of a UI automation framework around WinAppDriver.

    Blogs / Articles
    Scott Hanselman – Test Any App with WinAppDriver

    https://www.hanselman.com/blog/winappdriver-test-any-app-with-appiums-seleniumlike-tests-on-windows

    Description

    Introductory article explaining how WinAppDriver allows automated UI testing of any Windows desktop application, including classic Win32 programs. Shows example Selenium-style test code controlling a Windows application.

    Atomic Object – UI Testing Windows Apps with WinAppDriver

    https://spin.atomicobject.com/winappdriver/

    Description

    A practical article on implementing integration tests for Windows desktop applications using WinAppDriver. Covers environment setup, test execution workflow, and reliability considerations when automating desktop UI tests.

    AlgoShack – Test Automation using WinAppDriver

    https://medium.com/@algoshack/test-automation-using-winappdriver-270b08468f86

    Description

    Overview of WinAppDriver and how it integrates with Appium and Selenium-based frameworks. Explains supported languages and architecture of the driver-based automation approach.

    Excellarate – Getting Hands-on with WinAppDriver

    https://dev.excellarate.com/blogs/getting-hands-on-with-winappdriver/

    Description

    Step-by-step tutorial describing how to automate Windows desktop applications using WinAppDriver and Selenium-style automation frameworks.

    Discussions Referencing Delphi
    WinAppDriver GitHub Issue – Delphi Application Automation

    #131

    Description

    A developer reports successfully attaching WinAppDriver to a Delphi 5 application, demonstrating that the framework can interact with classic Delphi Win32 applications.

    Delphi Praxis Forum – Automating FMX Applications

    https://en.delphipraxis.net/topic/9109-automating-delphi-fmx-based-application/

    Description

    Discussion suggesting WinAppDriver as a viable approach for automating Delphi FireMonkey (FMX) applications using accessibility information.

    Observations

    Based on currently available public resources:

    Very few Delphi-specific WinAppDriver frameworks are published.

    Most implementations treat Delphi applications as generic Win32 UI Automation targets.

    Typical automation stacks include:

    WinAppDriver
    +
    Appium / Selenium
    +
    C#, Python, or Java test runner

    Delphi itself is rarely used as the test runner.

    Opportunities for the Delphi Ecosystem

    The lack of Delphi-specific resources suggests opportunities for:

    Delphi-native WinAppDriver test frameworks

    Delphi wrappers for WinAppDriver REST API

    Delphi test runners integrating WinAppDriver

    Documentation focused on VCL and FMX automation patterns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions