O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding the most commonly used Xamarin.UITest testing methods

In this section, we will learn about some of the commonly used methods that we can use with the Xamarin.UITest framework, which provides you with a way in which you can automate the interactions between your Android or iOS apps, using either C# or F#, as well as the NUnit testing framework.

The following table describes some of the more commonly used methods and the ones that we will be using to test the TrackMyWalks app:

UITest methods

Description

Screenshot()

The Screenshot method is used to take a screenshot of the current state of the app.

Tap()

The Tap method is used to send a tap to interact with a specific element that is contained on the app's ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required