hzycaicai2012 / robotium

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

solo.scrollDown() doesnt work on scrollable non ListViews/ScrollViews #651

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a custom View that extends from View and add a Scroller to it
2. when writing a test with given view on the screen as the only view on the 
screen
   write solo.scrollDown()
3.

What is the expected output?
solo sends scroll events to the screen

 What do you see instead?
nothing happens

What version of the product are you using?
Robotium Solo 5.2.1

On what operating system?
Android 4.4

Please provide any additional information below.
I tried to send multiple events like this
        solo.scrollDown();
        solo.scrollDown();
        solo.scrollUp();
        solo.scrollDown();
        solo.scrollDown();
and still nothing happens

Original issue reported on code.google.com by lena...@gmail.com on 22 Jan 2015 at 8:11

GoogleCodeExporter commented 9 years ago
On a side note - when given the same view to the monkey tester, it does manager 
to scroll the given view

Original comment by lena...@gmail.com on 22 Jan 2015 at 8:15

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. Would it be possible for you to share an app that 
exhibits this issue?

Original comment by renasr...@gmail.com on 23 Jan 2015 at 2:02

GoogleCodeExporter commented 9 years ago
I will send you demo code after i finish my deadline app that shows the issue

Original comment by lena...@gmail.com on 25 Jan 2015 at 10:40