Android adb 滑动指令
adb shell input swipe X1 Y1 X2 Y2 ------X1 Y1 是滑动起点坐标,X2 Y2 是滑动终点坐标
adb shell input swipe 700 300 750 300 500 --------滑动耗时500毫秒,滑动距离小可以模拟长按菜单功能,在手机实际测试中非常有用,网上不太容易找到,是长时间测试经验累积出来找到的指令
Android adb 滑动指令
adb shell input swipe X1 Y1 X2 Y2 ------X1 Y1 是滑动起点坐标,X2 Y2 是滑动终点坐标
adb shell input swipe 700 300 750 300 500 --------滑动耗时500毫秒,滑动距离小可以模拟长按菜单功能,在手机实际测试中非常有用,网上不太容易找到,是长时间测试经验累积出来找到的指令