austgl / robotium

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

search timeout function can't work correctly #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I use
if (solo.searchText("mystring")){
    //do something
}
else{
    //do something
}
2.if there is only one page in the list(that means the scroll will not 
scrolldown), the search timeout function can't work correctly, the test will 
keep in searching.
3.if there is more then one page in the list, it scrolldown to search the text, 
if can't find the text, searchText return false.

What is the expected output? What do you see instead?
searchText return false
keep in searching
What version of the product are you using? On what operating system?
robotium 2.3
Windows 7
Please provide any additional information below.

Original issue reported on code.google.com by xiaoyuwa...@gmail.com on 29 Apr 2011 at 7:47

GoogleCodeExporter commented 9 years ago
Thanks for this. It will be fixed in the next release. In the mean time use 
waitForText() instead.

Original comment by renasr...@gmail.com on 30 Apr 2011 at 5:50

GoogleCodeExporter commented 9 years ago
This can not be reproduced. 

Original comment by renasr...@gmail.com on 13 Jul 2011 at 5:25