Skip to content

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

License

Notifications You must be signed in to change notification settings

suyashgupta03/UITestSampleApp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Tool Build Status
App Center, iOS Build status
App Center, Android Build status

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.

C# 7.0 Compatibility

The master branch contains features from C# 7.0. If your IDE does not support C# 7.0, you can use this branch, which does not contain C# 7.0 features.

Author

Brandon Minnick

Xamarin Customer Success Engineer

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 97.5%
  • Shell 2.5%