Hi,
I am currently using Xamarin.Forms and I started to create some UI Tests locally (with NUnit and Xamarin.UITests packages).
I tested some basic features (Tap, EnterText). In my app, I instantiate a MainPage and when I tap a button, I navigate to a second page.
From that tap, I want to know (test) if I can go from the MainPage to the second page (it is variable under certain condition).
Note that I have implemented the ViewInitialized event to identify and target controls by their StyleId (http://developer.xamarin.com/guides/cross-platform/xamarin-forms/uitest-and-test-cloud/).
So, the tap and other actions work perfectly but the "navigation event" crashes the app and so the test fails.
I supposed it is due to the navigation and the source of the error could be in Forms.ViewInitialized reinitialization. Perhaps, the only exception I get is a System.Net.Exception which is caused by the crash of the app...
Can it be solved ?
Thanks.