![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
appium-UI测
文章平均质量分 92
学者耕耘
努力耕耘,跟上码农节奏
展开
-
UI自动化测试-UiAutomator
UiAutomator简介 Android 4.1发布的时候包含了一种新的测试工具– UiAutomator; Android SDK在4.1中提供了如下工具来支持UI自动化测试: 1.UiAutomatorViewer –扫描和分析应用的UI控件的图形界面工具 2.UiAutomator – 测试Java库,包含了创建UI测试的各种API和执行自动化测试的引擎 UiAutomator使用条件原创 2016-01-09 14:19:22 · 634 阅读 · 0 评论 -
Uiautomator API简介-摘要
本文适合初学者uiautomator API在 uiautomator.jar 文件中1.UiDeviceUiDevice代表设备状态。在测试中,可以通过UiDevice实例主要进行以下两个方面的操作:1.检测设备的各种属性e.g.:例如当前的屏幕方向以及屏幕尺寸 a)getUiDevice().getDisplayRotation() b)getUiDevice().getDisplayHei原创 2016-01-12 10:02:07 · 407 阅读 · 0 评论