The information below concerns legacy mobile tests that work with mobile devices connected to the local computer. For new mobile tests, we recommend using the newer cloud-compatible approach. |
This tutorial explains how to create a simple cross-platform test for Xamarin.Forms applications. You will record your test on one platform (for example, iOS) and run it on another platform (for example, Android). It is possible because objects in Xamarin.Forms applications are recognized as cross-browser Xamarin.Forms objects regardless of the mobile platform you use.
In this tutorial, we are going to prepare a Xamarin.Forms application for testing, record user actions for the application on an iOS device, and then modify the test to run it on an Android device. The test will emulate user actions over the mobile application and verify some data.
1. Create a Test Project (Legacy)
3. Verify the Recorded Test (Legacy)
See Also
About Xamarin.Forms Application Testing (Legacy)
Testing Xamarin.Forms Applications (Legacy)