【发布时间】:2014-10-25 14:10:46
【问题描述】:
我正在使用 Appium 驱动程序进行 Android 自动化测试 通过 appium 检查器,我可以识别视图元素(如 TextView、WebView 等),但不幸的是它无法识别 ImageView 元素。 想法?
【问题讨论】:
-
你有什么问题?您是在问为什么它不起作用还是只是在寻找解决方法?如果是后者,那么你需要解释你使用它的场景。
-
我在问为什么它不起作用?我试图通过 appiumDriver.findElement 查找元素当我尝试检查页面中的元素时,appium 检查器无法识别 ImageView 元素。但其他的是。
-
“appium 检查器”是查找元素的一种方式。如果你碰巧尝试使用 ruby_console => github.com/appium/ruby_console 它会给你一个不同的元素视图。
标签: android user-interface testing automation appium