I've tried the "app.Tap(c=>c.Marked("loginButton")) and the app.Tap(c=>c.Id("loginButton")) and the StyleId but in vain .
Is this a Xamarin.Forms project? If yes, make sure you set the AutomationId property to "loginButton".
@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.
Another option would be to put your views in a ScrollView so that they can move upward when the keyboard is shown.
Thank you @JohnMiller
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies