当前位置: 代码迷 >> Android >> android自动化测试使用uiautomator怎样获取context?该如何解决
  详细解决方案

android自动化测试使用uiautomator怎样获取context?该如何解决

热度:43   发布时间:2016-04-28 01:55:40.0
android自动化测试使用uiautomator怎样获取context?
android SDK自带的自动化测试uiautomator,使用时发现无法获取activity或context,各位大神,有办法解决吗?

有精通uiautomator的大神吗?我还想获取view,比如获取textview。但是uiautomator里面只有获取UiObject的方法。大神们,救救我吧。谢谢啦

------解决思路----------------------
Uiautomator 没办法获取到相应apk的上下文的。
  相关解决方案