/UITestSampleApp

A sample app to demonstrate how to create Xamarin UITests using the Page Object architecture, Backdoor Methods and App Links (aka Deep Linking)

Primary LanguageC#OtherNOASSERTION

CI Tool Build Status
GitHub Actions Xamarin Azure Functions

Sample App Demonstrating UITests

This app shows how to implement UITests into a Xamarin.Forms project.

The UITests follow the recommended practice of Page Object Architecture. In the Xamarin.Forms views, we've added an AutomationId to each control to show how UITest interact with controls cross-platform, using their AutomationId.

It demonstrates how to utilize Backdoors in UITest to bypass a login screen, improving the speed of the tests.

It also demonstrates how to utilize App Links in UITesting to navigate quickly to the page under test. App Links is initialized and executed in the source code for the app in App.cs. The UITest SelectItemOnListView uses a backdoor method to execute the App Links and navigate directly to the ListPage.

The login page leverages the Reusable Login Page created by Michael Watson.