An example Windows (UWP) automated UI testing project with Appium using the Page Object Pattern
Taking advantage of the WinAppDriver service to provide Appium UI tests for Windows apps, this project serves as a simple example of building tests following the Page Object Pattern.
The sample uses the default Windows Alarms & Clock application to provide example tests for adding and editing alarms.
The goal of the page object pattern is to use page objects to abstract page information away from your tests. Ideally, they will store all your selectors to find UI elements that a page is aware of and actions that are capable of the page.
As a result, the page object provides reusable, chainable components which can be used to create well-structured, easily readable tests.
Explore the EditAlarmPage example for more info.
WinAppDriver.exe
from the installation directory (E.g. C:\Program Files (x86)\Windows Application Driver
)dotnet test
or a test runner of your choice