Forum Xamarin Test Cloud (Read Only)

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Why can't i Tap on the button in xamarin test cloud with an android project? I've tried everything

I've tried the "app.Tap(c=>c.Marked("loginButton")) and the app.Tap(c=>c.Id("loginButton")) and the StyleId but in vain .

Answers

  • JohnMillerJohnMiller USForum Administrator, Xamarin Team Xamurai

    @xam.5390

    Is this a Xamarin.Forms project? If yes, make sure you set the AutomationId property to "loginButton".

  • xam.5390xam.5390 USMember

    @JohnMiller thanks for your answer, but actually the problem was that after entering the credentials, the keyboard covers the login button so that test cloud tap on the keyboard , i must tap outside to eliminate the keyboard and then tap the login button.

  • JohnMillerJohnMiller USForum Administrator, Xamarin Team Xamurai

    Another option would be to put your views in a ScrollView so that they can move upward when the keyboard is shown.

  • xam.5390xam.5390 USMember

    Thank you @JohnMiller

Sign In or Register to comment.