摘要: 1.安装apk adb install C:\Users\lizhe15\Documents\daiketong_guanjia-1.12.0-2021-01-14.apk 2.查看指定app的packgename和activity 注:可以不加双引号 aapt dump badging apk_p 阅读全文
posted @ 2022-05-18 15:43 Wiselee😏 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 如果你采用的网络是NAT网络,那么本地主机访问虚拟机肯定不行。 阅读全文
posted @ 2022-01-29 23:38 Wiselee😏 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 一、查看防火墙状态: 1.通过服务查看防火墙状态: systemctl status firewalld 防火墙运行时: 防火墙关闭时: 2.查看防火墙所有的规则详情: firewall-cmd --list-all 防火墙运行时: 防火墙关闭时: 二、关闭防火墙 systemctl stop fi 阅读全文
posted @ 2022-01-29 19:03 Wiselee😏 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 一、安装Appium 二、Appium SDK配置 三、chromedriver驱动路径配置及appium启动 1.查看X5内核版本 微信小程序是基于goole的webview 做了封装了,叫x5内核,所以跟chrome浏览器定位元素一样,需要配置chromedriver.exe, 通过 Uc-de 阅读全文
posted @ 2021-03-05 15:44 Wiselee😏 阅读(2109) 评论(1) 推荐(0) 编辑
摘要: 使用pip list来检查,如果你已经pytest-html安装了。如果不是,请安装 pip install pytest-html。 pytest-html 是pytest的插件,不属于pytest库。 阅读全文
posted @ 2021-02-03 11:15 Wiselee😏 阅读(1040) 评论(0) 推荐(0) 编辑
摘要: 报错如下 解决方案 : 在项目的任意文件夹下创建pytest.ini文件,写入内容: [pytest] filterwarnings = ignore::UserWarning 或者 [pytest] filterwarnings = error ignore::UserWarning 阅读全文
posted @ 2021-02-02 16:20 Wiselee😏 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: # 模拟鼠标滑动,拖动到可见的元素去element = self.driver.find_element(*select_value) # select_value = (By.XPATH,'//label[@for="p_relate_apply_id"]')self.driver.execute 阅读全文
posted @ 2020-07-20 16:24 Wiselee😏 阅读(433) 评论(1) 推荐(0) 编辑
摘要: 使用pip安装pytest和allure-pytest pip install pytest pip install allure-pytest allure工具配置 allure是一个命令行工具,需要去github上下载最新版: https://github.com/allure-framewor 阅读全文
posted @ 2020-02-26 11:14 Wiselee😏 阅读(434) 评论(1) 推荐(0) 编辑
摘要: jenkins安装请看: Jenkins详细安装教程 全局工具配置 1.安装allure插件 依次进入管理→插件管理→可安装列表,搜索Allure插件并点击“Install without restart”进行安装 2.在全局工具配置中,配置JDK, 1)jdk版本需要在1.8及以上 2)如果在sl 阅读全文
posted @ 2020-02-19 16:30 Wiselee😏 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 一、设备信息配置 脚本如下: 注意:Android7.0以上的版本需要appium1.6.3以上的版本才支持,电脑上可以下载两个appium版本,共存的,可以针对不同安卓版本进行使用;appium1.6以上的版本都是以appium-desktop命名的 二、脚本解释: 阅读全文
posted @ 2019-09-01 15:24 Wiselee😏 阅读(644) 评论(0) 推荐(0) 编辑