Closed GoogleCodeExporter closed 9 years ago
Unfortunately there is not much that can be done about which views are
available to Robotium. It gets them from the platform. So if that TextView is
still alive when searchText is done then it will return true. Many times it
takes a while for old TextViews to be garbage collected.
Original comment by renasr...@gmail.com
on 4 Apr 2011 at 6:00
OK , i thought views are retrieved from the current activity.
Isn't there a way to mention search for only on views from current activity ?
any other workaround (sleeping to 5 seconds will solve it ?)
Original comment by yair.oha...@gmail.com
on 4 Apr 2011 at 6:36
No, that is not possible. Usually a sleep will solve the problem as views will
be garbage collected when they are not used anymore.
Original comment by renasr...@gmail.com
on 5 Apr 2011 at 10:43
Original issue reported on code.google.com by
yair.oha...@gmail.com
on 3 Apr 2011 at 7:59