Uiautomator
文章平均质量分 87
King-wit
初来乍到,一起学习
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Uiautomator 源码分析之点击事件
uiautomator一个简单的脚本public class UiautomatorTest extends UiAutomatorTestCase{ public void testDemo() throws UiObjectNotFoundException { // 模拟 HOME 键点击事件 getUiDevice().pressHome();...原创 2018-04-08 16:23:28 · 1124 阅读 · 0 评论 -
Uiautomator 源码分析之控件获取
Uiautomator一个常用脚本 UiObject allAppsButton = new UiObject(new UiSelector().description("Apps")); // 模拟点击所有应用按钮,并等待所有应用界面起来 allAppsButton.clickAndWaitForNewWindow();分析第一步源码跟踪:1、new U...原创 2018-04-08 18:24:23 · 1331 阅读 · 0 评论
分享