robotium做划屏操作函数坑爹,正确的参数为左划:Solo.RIGHT
右滑:Solo.LEFT
LEFT
第二个参数是滑动的距离,范围是0-1,1表示整屏,不填默认是0.5。数据类型是float
正确的左滑代码如下:
solo.scrollToSide(Solo.RIGHT,0.7f);