Now, I am trying for using UIAutomator. We create an application. When testing it, setText method of UIAutomator is not working. When click EditText, key board is appeared. And then set text to this object, but it is not worked.
Here my code for EditText,
<EditText android:id="@+id/category_editText"
style="@style/Brown.textBox"
android:layout_width="match_parent"
android:layout_height="33dp"
android:contentDescription="@string/category_editText"
android:ems="10"
android:gravity="center_vertical"
android:hint="@string/category_entry"
android:lines="1"
android:maxLength="50"
android:paddingLeft="3dp"
android:paddingRight="3dp"
android:scrollHorizontally="true"
android:singleLine="true" />
Anyone, can help me ? Thanks.