我是自动化测试的新手,目前使用 appium 。我找不到使用 findelementbyandroiduiautomator 在轮视图中选择文本(示例 20,30,100)的方法。有没有其他解决方案可以做到这一点?
编辑:这是图片
我想要做的是25 Baht 25.0
从wheelview
使用中选择findelementbyandroiduiautomator
.
作为
driver.findElementByAndroidUIAutomator("new UiSelector().className(\"android.view.View\").getinstance(1)").getText();
不工作