I am testing pressing OK on SYSTEM_ALERT_WINDOW on Android using Xamarin testcloud.
However, I get below error. Has anyone tried testing on alert window? Does Xamarin test cloud work on normal android activities or alert windows as well?
Exception: System.Exception: Unable to find element. Query for Button("btnOK") gave no results.
I am using the usual query, and button is defined properly.
Func<AppQuery, AppQuery> MyButton = c => c.Button("btnOK");
<ImageButton
android:id="@+id/btnOK"
..
</>
PS: I can see that alert window is shows up correctly in screenshot when test was marked failed.