Services · Testing desktop applications
Automated testing of desktop applications
We reduce repetitive manual checks of your Windows or Electron application with stable automated tests. We design the architecture, set up regular execution and can also maintain the suite by agreement. We build the solution with proven open-source tools and hand it over to your team.
- pywinauto
- FlaUI
- Playwright
About the service
Desktop doesn't have to mean manual testing
Desktop applications are often tested entirely manually, as they are more difficult to automate than the web. However, for long reviews before desktop releases, automation can save a significant amount of repetitive work.
We automate native Windows applications (WPF, WinForms, Win32, WinUI) as well as applications built on Electron. Depending on the technology, we work through Windows UI Automation, Win32 or the Electron application interface and prefer element properties over image comparison.
The result is a suite of automated checks that you can run repeatedly - on your local computer, in a virtual environment, or in CI.
Simple entry
What we need from you
- You just need to know the scenario the solution is supposed to cover and be able to walk through it manually in the application.
- Knowledge of automation or tools is not required - just know what the application is supposed to do.
- Access to source code is not a requirement; we can work against your test environment.
- If you don't have the scenarios documented, we will prepare them together - just know the user paths.
- We will provide the technical analysis, tool selection, implementation and agreed launch method. We will agree the scope of ongoing maintenance separately.
What you get
What desktop automation will bring you
Shorter checks before release
Rechecks can run automatically overnight or on selected builds. The specific time depends on the scope of the set, the environment and the infrastructure.
Repeatability and accuracy
Under the same conditions, the automaton will execute the same scenario consistently, without typos and missed steps, so the results of the runs can be better compared.
Tests resilient to visual changes
Depending on the technology, we use Windows UI Automation, Win32, or the Electron application interface and prefer stable element properties over screen coordinates.
Coverage of installations and updates
We can also automate installation, updating and data migration - scenarios that are the most difficult to manually test and take a lot of time during repeated releases.
How it goes
A typical engagement
We will adapt the specific steps and their sequence to your situation and available materials and the agreed output.
-
Technical analysis of the application
We will verify the technology of the application, the available automation interface and the stable properties of the elements. If, for example, the automation ID needs to be added, we will prepare a specific recommendation.
-
Pilot on key scenario
We will verify the suitability and stability of the technical approach on the key scenario before creating the entire set. At the same time, we will design a structure that can be maintained.
-
Implementation and launch
We cover the scenarios in order of priority and prepare an agreed way of execution - locally, on virtual machines or as possible in CI.
-
Handover and Maintenance
We will hand over the documentation, train the team and agree on the maintenance rules. You can manage the tests yourself or, according to the agreement, we modify them for new versions.
Tools and Procedures
Tools and workflows selected for your solution
When choosing, we prefer open-source tools if they are suitable for a given service, your environment and mode of operation. If the solution uses a component with a different license, paid cloud service or external infrastructure, we will state the terms and costs in the offer. We agree how deliverables and created code will be handed over for the service.
-
pywinauto
An open-source foundation for automating native Windows applications in Python. Supports both UI Automation and Win32; We will select a suitable backend according to the application technology.
-
FlaUI
An option when we need robust access to elements in a complex .NET interface. It builds on .NET and Windows UI Automation and supports various interface technologies.
-
Playwright (Electron)
Playwright supports automation of Electron applications, although the documentation describes it as experimental. We will therefore verify the suitability for a specific application with a pilot.
-
GitHub Actions
We can run tests on selected builds or on a schedule so that the team gets a regular review of key scenarios without manually clicking through.
More on the topic
Related articles
-
How to test installation, updates and data migration
A user cannot reach a desktop application's features if installation or updating fails. A green installer status does not establish that settings, services and data were preserved.
-
pywinauto vs FlaUI for Windows UI automation
pywinauto and FlaUI are both open-source tools for controlling user interfaces in Windows.
-
Why desktop tests should not rely on coordinates and images
Recording clicks is a quick way to create a first automated scenario.
-
How to test an Electron application, not just its web interface
An Electron application uses web technologies, but users launch it as a desktop program.
-
How to automate tests for an older desktop application
An older application, often described as a legacy application, may have handled invoicing, warehouse operations or production for years, even though its documentation is no longer complete and its original authors are unavailable.
-
How to automate WPF and WinForms application testing
WPF and WinForms applications can be tested automatically if their controls provide enough stable information.
-
How to run WPF and WinForms tests in CI on a Windows runner
A WPF or WinForms test may pass on a workstation yet fail to find the application's window after it moves to continuous integration (CI), the automated process that builds and checks changes.
Let's look at your specific case
Briefly describe to us what you want to check or automate, which system or process you use and what limits you the most today. We will get back to you with a proposal for an appropriate next step.