austgl / robotium

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

ScrollDown is not working in the listview which has which has the check boxes in the activity. #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Launch the list activity with checkboxes.
2.Call the "Scrolldown" method.
3.Check the behaviour.(I am testing contacts - display options activity)

What is the expected output? What do you see instead?

Expected: Scrolling is not happening.

Actual:scrolling should happen.

What version of the product are you using? On what operating system?
Android2.2 with robotium 1.9.0

Please provide any additional information below.
1)I have used "getCurrentListViews" method to get whether list is present or 
not.
2) After querying it has returned "1" after calling 
"getCurrentListViews.size()".
3)got the list items in the list using "getCurrentListViews.get(0).getCount()" 
returned "7" items.

Original issue reported on code.google.com by anandpai...@gmail.com on 6 Dec 2010 at 2:09

GoogleCodeExporter commented 9 years ago
Are there more then 7 items in the list? Can it scroll?

Original comment by renasr...@gmail.com on 6 Dec 2010 at 2:25

GoogleCodeExporter commented 9 years ago
Which list? Were can I find the list that you have problems with.

Original comment by renasr...@gmail.com on 6 Dec 2010 at 2:27

GoogleCodeExporter commented 9 years ago
i am testing the contacts application please verify this in the display options 
activity.

Contacts app->from menu->display options

Original comment by anandpai...@gmail.com on 6 Dec 2010 at 2:48

GoogleCodeExporter commented 9 years ago
Mine is not scrollable. The list is only one page. Is it the same for you? 

Original comment by renasr...@gmail.com on 6 Dec 2010 at 2:50

GoogleCodeExporter commented 9 years ago
Do you find the 7th item with searchText()?

Original comment by renasr...@gmail.com on 6 Dec 2010 at 6:38

GoogleCodeExporter commented 9 years ago
my activity has 7 items where last 4 items have the text and checkboxes.

Original comment by anandpai...@gmail.com on 7 Dec 2010 at 7:29

GoogleCodeExporter commented 9 years ago
The solution to this problem is to ask the list it self how many items that it 
is showing and then using that information in order to scroll. Sometimes the 
list can give the wrong number back and there is nothing that can be done about 
that.

Original comment by renasr...@gmail.com on 7 Dec 2010 at 7:37