app.EnterText() and invoke(setText,"") methods are not working for entering text in Android app using Xamarin.UItest

Gnanaprakasam, Kalaimamani 21 Reputation points
2021-01-22T10:52:45.967+00:00

Method1 : app.EnterText("AutomationID", "text");

Method2 : app.Query(x => x.Marked(AutomationID).Invoke("setText", "text"));

Both the methods are not working for entering text in Android app textfield layout. Device Model: Note 10, OS version: Android 10. Xamarin.UITest version: 3.0.11 & 3.0.13
Is there any other way to implement it?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,364 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.