MonkeyRunner之MonkeyRecorder录制回放脚本(亲测可正常运行)MonkeyRunner可以录制和回放脚本前置条件:电脑连接手机,输入adbdevices看看返回是否手机设备列表(我是真机,模拟器也可以)配置好安卓sdk和Python环境step:1、启动录制脚本:cmd,输入命令monkeyrunnermonkey_recorder.py会弹出一个MonkeyRecord窗口
分类:
其他好文 时间:
2020-12-05 10:28:19
阅读次数:
4
# 万物皆对象 # python类的语法 关键字 class # 类名的规范:数字、字母、下划线组成,不能以数字开头,首字母大写,驼峰命名 # 类属性:类中的变量值 # 类方法:类中的函数 # 概括出实例共有的属性、方法 class BoyFriend(): # 类属性 height = 175 w ...
分类:
编程语言 时间:
2020-12-04 11:48:51
阅读次数:
18
先说一下async的用法,它作为一个关键字放到函数前面,用于表示函数是一个异步函数,因为async就是异步的意思, 异步函数也就意味着该函数的执行不会阻塞后面代码的执行。 写一个async 函数 async function timeout() { return 'hello world'; } 语 ...
分类:
其他好文 时间:
2020-12-04 11:45:18
阅读次数:
15
CentOS7安装Python3.5CentOS7下安装Python3.5?安装python3.5可能使用的依赖yuminstallopenssl-develbzip2-develexpat-develgdbm-develreadline-develsqlite-devel?到python官网找到下载路径,用wget下载wgethttps://www.python.org/ftp/python/3
分类:
编程语言 时间:
2020-12-04 11:44:10
阅读次数:
18
恢复前的状态 先恢复到未暂存区 git restore --staged src/main/resources/schema.sql 从暂存区恢复 git checkout -- src/main/resources/schema.sql ...
分类:
其他好文 时间:
2020-12-04 11:33:05
阅读次数:
6
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" ...
分类:
移动开发 时间:
2020-12-04 11:32:09
阅读次数:
14
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
移动开发 时间:
2020-12-04 11:30:31
阅读次数:
12
this.$router.options.routes[5].children[0].children.push({ path: '/resourcesMenu/host/asibc_statistics_detail', meta: { name: '2-2', path: '/resources ...
分类:
其他好文 时间:
2020-12-04 11:28:39
阅读次数:
6
早期版本的git , git add . 的时候不会把删除的文件加入索引 新版本的git add . 会把删除的也加入进去的 <pathspec>…? 要从中添加内容的文件。Fileglobs(例如 *.c)可以用来添加所有匹配的文件。此外,还可以提供一个前导目录名(例如,指定 dir 以添加 di ...
分类:
其他好文 时间:
2020-12-04 11:25:57
阅读次数:
6
闲话不说说,直接上干活,安装步骤如下: 1. 进入ECS命令行控制台,输入:yum install docker 按照提示,输入:y 2. 安装完成后,启动docker,命令:service docker start3. 查看docker版本,命令:docker --version 好了,安装全部完 ...
分类:
其他好文 时间:
2020-12-04 11:23:58
阅读次数:
7