/UITestSampleApp

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

Primary LanguageC#OtherNOASSERTION

Build Status

Sample App Demonstrating UITests

This app shows how to implement UITest and Unit Tests into a Xamarin.Forms project.

The UITests follow the recommended practice of Page Object testing. In the views, we've added an AutomationId to each control to show how UITest can interact with controls most efficiently, 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] (https://blog.xamarin.com/deep-link-content-with-xamarin-forms-url-navigation/) 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.

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

Author

Brandon Minnick

Xamarin Customer Success Engineer