rahul7386 / robotium

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

getEditText(int idx) seems not working #494

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using robotium 4.2

this fails :
assertTrue(solo.getCurrentViews(EditText.class).get(3).isEnabled());

but if I comment out the assertTrue, this works:
solo.enterText(3, "some string");

Original issue reported on code.google.com by geob...@gmail.com on 29 Jul 2013 at 8:42

GoogleCodeExporter commented 9 years ago
my bad, adding a waitForView and hiding the keyboard did the trick 

Original comment by geob...@gmail.com on 29 Jul 2013 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by renasr...@gmail.com on 30 Jul 2013 at 4:44