Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
PressEnter() does not work. It also seems this cannot be worked around by using TapCoordinates.
Please provide a repro project, Android version and Android device, etc.
Have you actually tried reproducing before asking for a project?
app.PressUserAction() will press the default action on the keyboard (in this case the search button). PressEnter() will always do an enter.
This is exactly what I had in mind. However, PressUserAction is not present in Xamarin.UITest 1.0.0 (from NuGet, https://www.nuget.org/packages/Xamarin.UITest). I can see it's supposed to have been long added (http://forums.xamarin.com/discussion/28990/xamarin-uitest-0-6-7-released) but it's not there.
PressUserAction is on AndroidApp but it is not on IApp. So to use it you'll need to cast an IApp instance to AndroidApp.
I understand, thank you. I am going to try now.
Glenn, this works. Thank you for your help. I am resolving this issue.