Using the Xamarin.UITest REPL runtime shell to test the UI

Creating your acceptance tests is challenging. Identifying the controls, structuring your commands, and replicating the desired user testing gestures is not easy, especially when you are testing a binary. Even if you are writing the source code and you have set your StyleId properties to your views, it's impossible to remember them or stop and start a test until you have the correct commands in place.

To find all the information about the controls and interact with the interface in real time, there is a command-line tool named REPL, which stands for Read-Evaluate-Print-Loop.

In this recipe, we will see how in real time you can start a test project, query the interface for the available ...

Get Xamarin: Cross-Platform Mobile Application Development 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.