# AutoTest **Repository Path**: rslai/AutoTest ## Basic Information - **Project Name**: AutoTest - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2013-12-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AutoTest #### 介绍 UI自动化工具。基于selenium实现 #### 软件架构 #### 安装教程 由于直接从国外下载,有的包较慢,可能需要10分+。 1. 先安装ant “apache-ant-1.9.2”,并配置ant路径 2. 打包下载后,解压缩 3. 进入解压缩路径,执行 download.bat 下载必要的jar包。由于部分jar包在国外所以可能需要开启vpn 4. 运行 run.bat @case1 将跑第一个ui case,注意脚本中使用的是chrome浏览器,所以如果没装还需要安装chrome。修改浏览器编辑配置文件 conf/applicationContext.xml #### 使用说明 1. 创建一个新项目 - 如果像创建出一个新工程使用命令 createProject.bat rrr 其中rrr是你的工程的名字 - 进入rrr目录后运行 downloadInit.bat 会下载一些配置文件 - 运行 download.bat 会下载配置jar包 - 运行所有脚本 runTest.bat - 运行指定脚本使用 run.bat @case1 其中 @case1 为需要运行的脚本