Aone.Net

学无止境

10 2021 档案

vm 16+ mac终端root密码修改
摘要:1. 以普通用户名登录系统,并打开terminal终端,输入: sudo bash Password:****(当前用户的密码) 成功后进入bash-3.2#的命令模式。 2. 在bash-3.2#命令模式下,输入: sudo passwd root New password:*** Retype 阅读全文

posted @ 2021-10-20 20:02 Catonce 阅读(180) 评论(0) 推荐(0)

性能-iOS性能调优
摘要:iOS之性能调优工具 概述: 三类工具 基础工具:(NSLog的方式记录运行时间.) 性能工具: 检测各个部分的性能表现,找出性能瓶颈 内存工具: 检查内存正确性和内存使用效率 性能工具: 可以衡量CPU的使用,时间的消耗,电池的消耗 一、Time Profile 启动Time Profile:Xc 阅读全文

posted @ 2021-10-20 17:05 Catonce 阅读(301) 评论(0) 推荐(0)

端口占用进程查找
摘要: 阅读全文

posted @ 2021-10-09 10:38 Catonce 阅读(12) 评论(0) 推荐(0)

Appium:drivers支持 Windows 快捷部署 stf
摘要:1. 在Docker官方网站下载docker for windows10的安装包,傻瓜安装(会自动开启Hyper-V服务,windows10自建一个虚拟机作为docker的服务端),成功安装后,开启docker服务 2. 在这里https://github.com/nikosch86/stf-poc 阅读全文

posted @ 2021-10-08 19:15 Catonce 阅读(91) 评论(0) 推荐(0)

Appium:七:STF -Windows 部署
摘要:镜像拉取启动 阅读全文

posted @ 2021-10-08 16:23 Catonce 阅读(67) 评论(0) 推荐(0)

Appium:六:断言
摘要:常规断言 比较大小 price= self.driver.find_element(By.XPATH,'//*[contains(@resource-id="current_price")]'.text assert float(price) >=100 包含 name= self.driver.f 阅读全文

posted @ 2021-10-07 17:16 Catonce 阅读(183) 评论(0) 推荐(0)

Appium:五:包名|Activity获取
摘要:一: SDK→build-tools aapt dump badging xx.apk 二: 启动app,终端输入命令 adb logcat | grep ActivityManager win: 启动app,终端输入命令 adb logcat | findstr ActivityManager 三 阅读全文

posted @ 2021-10-03 17:40 Catonce 阅读(85) 评论(0) 推荐(0)