# testforUI **Repository Path**: Gchui/AppUi ## Basic Information - **Project Name**: testforUI - **Description**: 包含手机端界面UI自动化和web端的UI自动化,iOS端的自动化后期会维护更新 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2022-04-27 - **Last Updated**: 2024-07-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # testforUI #### 介绍 包含手机端界面UI自动化和web端的UI自动化,iOS端的自动化后期会维护更新,借助第三方包使用可以收集 在ui自动化执行过程中的手机的一些重要的性能参数,cpu,内存,页面刷新hz,电池电量 第三方库solox的安装方法可以通过pip install solox 执行或者是pip3 install -U solox执行安装 通过pip安装的使用默认启动方法python -m solox或者python -m solox --host=0,0,0,0 --port=50003 启动,通过pip3安装的默认启动方法python3 -m solox 或者python3 -m solox --host=0,0,0,0 --port=50003 启动 #### 软件架构 软件架构说明python+ appium+uiautomator2+pytest+allure 修改代码设计模式,由代码执行的线性流程进行封装修改为POM模式进行分成设计 ***后期实现手机端自动化的测试报告和性能报告同时输出*** 待实现 #### 安装教程 搜索appium环境配置 #### 使用说明 1.封装底层函数(关键字函数) 2.设计页面测试流程 3.编写测试用例 4.输出测试报告,通过公众号或者邮箱发送测试报告