Automated tests 在appium robot框架中向下滚动

Automated tests 在appium robot框架中向下滚动,automated-tests,appium,robotframework,appium-android,appium-desktop,Automated Tests,Appium,Robotframework,Appium Android,Appium Desktop,我在使用appium时出现问题向下滚动 Scroll Down xpath=//android.view.ViewGroup/android.widget.FrameLayout[2]/android.widget.LinearLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.LinearLayout[2]/android.widget.LinearLayout/android.wi

我在使用appium时出现问题向下滚动

Scroll Down       xpath=//android.view.ViewGroup/android.widget.FrameLayout[2]/android.widget.LinearLayout/android.widget.ScrollView/android.widget.LinearLayout/android.widget.LinearLayout[2]/android.widget.LinearLayout/android.widget.TextView
但我得到了厄罗的回应

VerifyPayType                                                         | FAIL |
WebDriverException: Message: Unknown mobile command "scroll". Only shell commands are supported.

有人能建议我用另一种方法在appuim中向下滚动吗?

您可以使用滚动定位器2定位器1

例如:

Scroll xpath=//*[@content-desc='Phone'] xpath=//*[@content-desc='Hangouts']
注意:参数1是参数2下面的元素