The Xamarin.UITest framework

According to the Xamarin website (https://developer.xamarin.com/guides/testcloud/uitest/), Xamarin.UITest is an Automated UI Acceptance Testing framework that allows programmers to write and execute tests in C# and NUnit that validate the functionality of an application.

That means we can write test methods using C# to test the functionality of an Xamarin application. For example, we can test these and many more scenarios:

  • Launch the application, wait for the landing page, click on the SignUp button, enter Username, Password, Full Name, and so on, in the relevant entry fields, click on the Create button, and check that the browser naviagates to the Home page
  • Launch the application, enter Mouse into the search field, click ...

Get Xamarin 4 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.