- 博客(12)
- 问答 (1)
- 收藏
- 关注
原创 Python(Pytest) 运行多个指定的用例
本人写cases 调试case的, 经常遇到各种问题, 或者各种想法要实现, 刚刚试了一个python 单跑多个用例的方法好用就一键记录下来了, 照片是我儿子, 太逗了, 给大家开心一下。
2023-02-03 14:44:53
3096
原创 uiautomator2, exist 和count 为啥不一致
错误如下:>>> d(textContains="尊敬的客户,您好!很抱歉,系统无法识别您的指令,建议您确认指令内容后重新发送。如需更多服务,请登录江苏移动掌上营业厅").existsFalse>>> d(textContains="尊敬的客户,您好!很抱歉,系统无法识别您的指令,建议您确认指令内容后重新发送。如需更多服务,请登录江苏移动掌上营业厅").count4为啥能数出来4个, 但是判断的时候却1个都不存在?谁能帮忙解答一下...
2020-07-05 10:31:11
1042
原创 Ubuntu 常用软件卸载安装
sudo apt remove libreoffice-common卸载自带的libreoffice;sudo apt remove ubuntu-web-launchers卸载亚马逊;https://www.wps.cn/product/wpslinux#下载WPS deb从官网;安装wps:cd Downloadsudo dpkg -i wps-office_10.1.0.6757_amd64.deb发送错误用sudo apt-get -f install修复;.
2020-06-08 10:53:45
302
原创 Ubuntu 使用python脚本 模拟键盘(virtkey 安装和使用)
1. 安装:https://ubuntu.pkgs.org/18.04/ubuntu-universe-amd64/python3-virtkey_0.63.0-0ubuntu7_amd64.deb.htmlDownloadType URL Mirror archive.ubuntu.com Binary Package http://archive.ubuntu.com/ubuntu/pool/universe/v/virtkey/python3-virtkey_0.
2020-06-04 14:52:05
2396
1
原创 绘图123
import os# from matplotlib.pyplot import *import matplotlib.pyplot as pltimport pandas as pd# import numpy as np# import xlsxwriterfrom openpyxl.drawing.image import Imagefrom openpyxl import l...
2020-01-09 16:48:52
160
原创 uiautomator中的判断
if d(text="GOT IT").wait.exists(timeout=5000): d(text="GOT IT").click()
2018-08-14 15:00:21
711
原创 git push的错误提示fatal: Authentication failed for 'http://.......ti.git/'
$ git push origin masterremote: invalid tokenfatal: Authentication failed for 'http://.......ti.git/' 如果出现上面的提示,肯定是因为, 在'http://.......ti.git/'中输入的用户名字和密码跟你windows 中保存的用户名字和密码不一致才导致的。删除掉重新来pu...
2018-08-09 16:34:40
3696
空空如也
unittest的class-setup方法中如何使用assert断言
2022-03-15
TA创建的收藏夹 TA关注的收藏夹
TA关注的人