# aria **Repository Path**: wanglylyly/aria ## Basic Information - **Project Name**: aria - **Description**: aria的仓库啊 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-06-10 - **Last Updated**: 2024-09-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # aria #### 介绍 aria的仓库啊 #### 软件架构 采用python+selenium+unittest 准备工作: 1、安装python,配置好python的环境后,可以使用vscode或者pycharm编写脚本, 2、下载chromedriver:查看当前使用的谷歌浏览器版本,下载chromedriver的版本与chrome的版本保持一致,将chromedriver的安装包放到python的script目录下。 第一版本:book.py 粗略地编写,用xpath定位元素完成了登录、新书登记、库存补充、根据图书类别查询等操作。 第二版本: 重新编写了登录方法,对xpath定位元素进行了封装,将定位元素、输入文本、清空登操作定义成了方法。 加入了登录的测试用例,添加了testsuite,导入了HTMLTestRunner 生成测试报告。