1、核心工具
python3 + pytest + atxserver2 + uiautomator2 + WebDriverAgent +
weditor + allure–pytest:组织测试用例
–atxserver2:设备管理平台
–uiautomator2:Android设备驱动
–WebDriverAgent :iOS设备驱动
–weditor:APP元素定位
–allure:测试报告
2、软件准备
- python3
- pycharm
- 安卓手机或者模拟器(夜神/雷电模拟器等)
3、搭建本地环境:
1)安装python3.8,需要安装以下第三方库:
pip install pytest
pip install pytest-rerunfailures
pip install pytest-html
pip install pytes-timeout
pip install allure-pytest
pip install uiautomator2
pip install weditor
pip install PyExecJS
pip ins