airtestUI简单操作
- touch 判断坐标位置
- 如touch((500, 600), duration=1)
- swipe 滑动位置
- wait 等待画面出现
- exists 判断画面中是否存在某个图片
- test 调用输入法,输入一段文字
- assert——exists 断言图片存在于当前画面上
- assert——exists 断言图签不存在
- refresh刷新显示当前启动的apk
- 输入text内容并点击 input ,可以在手机上输入该内容。
- IME Manger切换输入法,默认为yosemite
- Quick Button 提供unlock解锁
- power电源键操作 snapshot 截图操作
- snapshot 截图操作
- mute静音, volumn_down``音量降低、 ``volumn_up``音量升高 的快捷操作。