The Wasu Auto TestFrameWork
Project description
通过继承线程Thread类是实现多线程
windows:
- 启动服务命令
- 杀服务命令
- adb命令
- 编码问题
# 设置编码格式为rb,解决windows编码问题
def yaml_to_dict(self) -> dict:
with open(self.path, "rb") as f:
yaml_file = yaml.safe_load(f)
return yaml_file
使用AppiumService启动Appium 配置JDK环境,最好为JDK8
引用同一个名称的webdriver,需要用as提供别名来访问,否则容易被覆盖
解决mac上报错
理解queue里面的join和task_done方法的区别 queue中的empty方法是不可信赖的
Python中退出运行状态
sys.exit(0)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wasu_test-1.9.2.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for wasu_test-1.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aadc49b428ad78023949c01e6d05a5ae6aad08e76b12c654e9303a77bbc8e4de |
|
MD5 | ceb1b88e5602e52b2a62addfd8567bbf |
|
BLAKE2b-256 | 36691f03c450f88745bf5ae11ba6f66bb9c78fdc6bb337027985839be2fc7982 |