austgl / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

EditText.setError text not recognized #160

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My code uses the EditText.setError feature.  I have a test that induces an 
error, it shows on screen, but searchText can't detect it.  

EditText.setError uses something rarely used called a PopUpWindow.  I assume 
Robotium is incapable of recognizing PopUpWindow text.  

If you want to see Android's source for EditText, look here.  Look for the 
showError() method for the PopUpWindow code.
What is the expected output? What do you see instead?

Original issue reported on code.google.com by glenview...@gmail.com on 17 Sep 2011 at 1:45

GoogleCodeExporter commented 9 years ago
Sorry, the EditText source is at 
http://codesearch.google.com/codesearch#uX1GffpyOZk/core/java/android/widget/Tex
tView.java&q=package%3aandroid.git.kernel.org%20file%3aandroid/widget/TextView.j
ava&l=1

Original comment by glenview...@gmail.com on 17 Sep 2011 at 1:45

GoogleCodeExporter commented 9 years ago
Thanks for this. Support for PopUpWindow text will be added in the next release.

Original comment by renasr...@gmail.com on 18 Sep 2011 at 7:56

GoogleCodeExporter commented 9 years ago
This has been corrected in Robotium 3.0. Please note that 
finishOpenedActivities() replaces finalize().

Original comment by renasr...@gmail.com on 14 Nov 2011 at 6:32