sangmingming / robotium

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

solo.searchText() and solo.waitForText() return false at times. Returned boolean value is not consistent. #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. solo.waitForText("test") and solo.searchText("test") methods will return 
false at times; Even if the text is shown in on the screen.
2.
3.

What is the expected output? What do you see instead?
It should return appropriate value. If required text is available it should 
return true else false.

What version of the product are you using? On what operating system?
2.5, Android 2.1

Please provide any additional information below.
Even I've tried with below methods:
1. waitForText(java.lang.String text, int minimumNumberOfMatches,long timeout)
2.  waitForText(java.lang.String text, int minimumNumberOfMatches,long timeout, 
boolean scroll)
3. searchText(java.lang.String text, int minimumNmberOfMatches, boolean scroll, 
boolean onlyVisible)
4. searchText(java.lang.String text, int minimumNmberOfMatches)
5. searchText(java.lang.String text, int minimumNmberOfMatches, boolean scroll)
6. searchText(java.lang.String text, int minimumNmberOfMatches, boolean 
onlyVisible)

Original issue reported on code.google.com by alpatisu...@gmail.com on 28 Oct 2011 at 1:53

GoogleCodeExporter commented 9 years ago
Would it be possible for you to send me an application and test project that 
reproduces this issue?

Original comment by renasr...@gmail.com on 31 Oct 2011 at 7:04

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:31

GoogleCodeExporter commented 9 years ago
Excellent!!. 
Thank you Renas.

Original comment by alpatisu...@gmail.com on 14 Nov 2011 at 7:15

GoogleCodeExporter commented 9 years ago
By the way,  Wat was change done for this issue in Robotium API?. Could you 
pls. provide the update on the change you did. That would be useful.

Original comment by alpatisu...@gmail.com on 14 Nov 2011 at 7:17