Forum Xamarin Test Cloud (Read Only)
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Unable to tap on Button in Marshmallow based phones

REPL structure :

 Width => 900,
 Height => 144,
 X => 90,
 Y => 1276,
 CenterX => 540,
 CenterY => 1348

Label => "Sign",
Text => "Sign in",
Class => "android.widget.Button",
Enabled => true

I'm unable to tap on specifying either Automation Id or Button with Text or with Class property. However this works fine on giving above X & Y co-ordinates.

app.Tap(c => c.Text("Sign in ")); - This doesn't tap
app.Tap(c => c.Class("android.widget.Button")); - This doesn't tap

app.TapCoordinates(540, 1348); - As of now only this was successful in tapping the Sign in Button

Please advise

Best Answer


  • badarikashyapbadarikashyap USMember ✭✭

    Thanks a lot

Sign In or Register to comment.