Closed GoogleCodeExporter closed 9 years ago
You will have to scroll up your self after using searchText the first time.
scrollUp/scrollDown will give you false back when it is not able to scroll
anymore. So you test case could look something like this:
solo.searchText();
while(solo.scrollUp());
solo.searchText();
Original comment by renasr...@gmail.com
on 28 Sep 2011 at 6:21
solo.searchText();
while(solo.scrollUp());
solo.searchText();
i invalid. I tried this before I entered the issue. The reason it is invalid is
because:
while loop scrolls up first.
Then searchtext makes the scroll down automatically.
So basically the same view is been checked endless between scroll up and search
text. ScrollUp goes up one view, while searchtext brings down one view
searching for text and while loop continues endlessly. This solution did not
work.
Original comment by pr...@anvaya.net
on 28 Sep 2011 at 10:47
Use searchText with the parameter set to false. You can find the different
options in the javadoc.
Original comment by renasr...@gmail.com
on 29 Sep 2011 at 2:54
Original issue reported on code.google.com by
pr...@anvaya.net
on 27 Sep 2011 at 11:41