sangmingming / robotium

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

listview automatically scrolls #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In my app, I was searching for ipod in search box(textview) and there are 
lots of items that show up in list view in SearchResultListActivity.
2. Noticed that the items keep scrolling automatically in the list view, even 
though I didn't do any search or requested for any action in that activity.

What is the expected output? What do you see instead?
The list shouldn't scroll rather should move on with next command. 
But the actual output is the list view keeps scrolling through all the items in 
the list and doesn't invoke next command that I quoted in testcase.

What version of the product are you using? On what operating system?
robotium - 3.0 

Please provide any additional information below.

Original issue reported on code.google.com by koneru.s...@gmail.com on 1 Dec 2011 at 7:13

GoogleCodeExporter commented 9 years ago
one of the points that I missed mentioning is, I did set solo.waitForActivity() 
at different invocations in my test case. I am guessing this might be causing 
some issue. 
But as such I didn't invoke any solo.searchText("") to validate any text in 
that list view.

Original comment by koneru.s...@gmail.com on 1 Dec 2011 at 7:17

GoogleCodeExporter commented 9 years ago
Can you please paste your test case? And explain were you are in the test case 
when the list appears.

Original comment by renasr...@gmail.com on 1 Dec 2011 at 7:23

GoogleCodeExporter commented 9 years ago
My mistake.

I noticed, I have specified solo.searchText() in a activity to validate the 
content in the dialog box. But the dialog doesn't appear all the time. 
The next step is solo.goBack() which gets to previous activity that displays a 
list view, so the search continues in this page.

Sorry for the wrong question.

Original comment by koneru.s...@gmail.com on 2 Dec 2011 at 1:00

GoogleCodeExporter commented 9 years ago

Original comment by renasr...@gmail.com on 2 Dec 2011 at 6:06