The list
Please check the updated list at the: List of Automated Testing (TDD/BDD/ATDD/SBE) Tools and Frameworks for .NET: User Interface Testing
Library |
Comment |
Appium |
Supports testing of Universal Windows Platform (UWP) and Classic Windows (Win32) applications |
Coded UI |
Discontinued |
FlaUI |
Automated UI testing of Windows applications (Win32, WinForms, WPF, Store Apps) |
NUnitForms |
Discontinued |
Ranorex |
GUI testing for desktop, web and mobile applications |
Scrutiny |
F# and C# library for testing state machines by randomly choosing available states and valid transitions. Designed for usage with UI tests. |
Squish GUI Tester |
All kinds of cross-platform desktop, mobile, embedded and web applications |
TestComplete |
"Ensure the quality of your application without sacrificing speed or agility with an easy-to-use, GUI test automation tool. Our AI-powered object recognition engine and script or scriptless flexibility is unmatched, letting you test every desktop, web, and mobile application with ease." |
TestStack.White |
Discontinued |
WinAppDriver |
- Windows Application Driver - Service to support Selenium-like UI Test Automation on Windows Applications - Supports testing Universal Windows Platform (UWP), Windows Forms (WinForms), Windows Presentation Foundation (WPF), and Classic Windows (Win32) apps on Windows 10 PCs |
What Microsoft recommends
WinAppDriver
Microsoft recommends to use WinAppDriver:
Windows Application Driver (WinAppDriver) is a service to support
Selenium-like UI Test Automation on Windows Applications. This service
supports testing Universal Windows Platform (UWP), Windows Forms
(WinForms), Windows Presentation Foundation (WPF), and Classic Windows
(Win32) apps on Windows 10 PCs.
Coded UI (Visual Studio ≤ 2019)
Previously, Coded UI, a Visual Studio built-in feature and part of the UI Automation, was recommended for application UI testing (it's deprecated now):
Coded UI Test for automated UI-driven functional testing is
deprecated. Visual Studio 2019 is the last version where Coded UI Test
will be available. We recommend using Selenium for testing web apps
and Appium with WinAppDriver for testing desktop and UWP apps.
Consider Xamarin.UITest for testing iOS and Android apps using the
NUnit test framework.
Automated tests that drive your application through its user interface
(UI) are known as coded UI tests (CUITs). These tests include
functional testing of the UI controls. They let you verify that the
whole application, including its user interface, is functioning
correctly. Coded UI Tests are particularly useful where there is
validation or other logic in the user interface, for example in a web
page. They are also frequently used to automate an existing manual
test.
Read more at: https://learn.microsoft.com/en-us/visualstudio/test/use-ui-automation-to-test-your-code