# AutotestPlatform(自动化测试平台)
### 概述:
#### 1、接口自动化测试模块:
单接口录入/测试,多个接口组织场景,多个场景组成测试套,选择测试套进行任务执行和报告生成。
#### 2、web界面自动化测试模块:
通过selenium提供的api,以web页面元素的xpath来唯一定位每个对象,然后操作对象(点击,输入,移动,获取信息,校验,截屏等),来实现web界面测试自动化。为了应对前端界面的频繁变动,尽可能的减少用例的频繁修改,抽象出【页面-模板-数据】三层,动态组织用例。
### 使用指南:
<pre><code>
docker pull qiangzhou/autotest_platform:v1.0
docker run -dit --name autotest_platform --net host qiangzhou/autotest_platform:v1.0 bash -c "cd /opt/AutotestPlatform/web/ && uwsgi -i uwsgi.ini"
# 浏览器访问http://ip:8080
# 登陆密码admin/123
</pre></code>
### 示例:
#### 接口自动化测试模块
1、单个接口录入
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/1.png)
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/6.png)
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/7.png)
2、多个接口组织场景
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/2.png)
3、新建测试套,并添加场景
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/3.png)
4、建立任务并执行
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/4.png)
5、查看结果
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/5.png)
#### web界面自动化测试模块
1、添加页面抽象
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/11.png)
2、编写用例模板
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/12.png)
3、组织用例集
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/13.png)
4、建立任务并执行
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/14.png)
5、查看结果
![](https://github.com/qiangzhouf/AutotestPlatform/raw/master/doc/15.png)
没有合适的资源?快使用搜索试试~ 我知道了~
自动化测试平台_Python_JavaScript_下载.zip
共98个文件
js:14个
xml:13个
html:13个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 153 浏览量
2023-04-22
16:09:53
上传
评论
收藏 10.47MB ZIP 举报
温馨提示
自动化测试平台_Python_JavaScript_下载.zip
资源推荐
资源详情
资源评论
收起资源包目录
自动化测试平台_Python_JavaScript_下载.zip (98个子文件)
AutotestPlatform-master
lib
__init__.py 0B
mtd.py 8KB
case.py 19KB
__pycache__
mtd.cpython-35.pyc 6KB
__init__.cpython-35.pyc 131B
func.cpython-35.pyc 2KB
model_to_date.cpython-35.pyc 4KB
case.cpython-35.pyc 13KB
doc
目录结构.doc 70KB
平台设计概述.doc 10KB
3.png 49KB
UI自动化测试方案.vsd 461KB
12.png 94KB
15.png 138KB
1.png 90KB
11.png 85KB
13.png 66KB
6.png 80KB
接口测试使用指南.doc 589KB
5.png 119KB
4.png 68KB
安装部署.doc 8KB
7.png 61KB
2.png 115KB
14.png 46KB
web
lib
task.py 5KB
interface.py 13KB
case.py 2KB
scene.py 3KB
web.py 44KB
image
deckCar
1.jpg 329KB
fakeCar
1.jpg 128KB
noPlateCar
1.jpg 306KB
接口测试.ipynb 9KB
templates
interf_scene.html 4KB
result.html 4KB
page_ab.html 2KB
task_detail.html 4KB
show_tasks.html 4KB
case_set.html 5KB
suite.html 3KB
login.html 2KB
api_record.html 9KB
interf_task.html 2KB
project_m.html 2KB
layout.html 5KB
model.html 2KB
web.db 3.04MB
static
style.css 230B
show_task.js 1KB
seemmo-logo.ico 9KB
page_ab.js 9KB
interf_task.js 7KB
result.js 409B
project_m.js 3KB
socket.io.min.js 64KB
suite.js 6KB
bootstrap-3.3.7
js
bootstrap.js 68KB
npm.js 484B
bootstrap.min.js 36KB
css
bootstrap-theme.min.css.map 25KB
bootstrap.min.css 118KB
bootstrap-theme.css.map 47KB
bootstrap-theme.css 26KB
bootstrap.css.map 380KB
bootstrap.css 143KB
bootstrap-theme.min.css 23KB
bootstrap.min.css.map 529KB
fonts
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff 23KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.woff2 18KB
scene.js 17KB
jquery-3.2.1.min.js 85KB
api_record.js 27KB
model.js 12KB
conf
web_nginx.conf 211B
log
f71dd096-275e-11e8-843d-000c296cfabe_log.txt 0B
uwsgi.ini 192B
server.py 2KB
driver
chrome_driver.exe 8.12MB
chromedriver 7.56MB
model
login.xml 347B
del_task.xml 2KB
create_group.xml 3KB
query_task.xml 4KB
create_task.xml 4KB
menu.xml 319B
query_car.xml 4KB
requirements.txt 308B
page
login.xml 279B
carSearch.xml 2KB
index.xml 1KB
menu.xml 249B
taskAnalysis.xml 3KB
conf
conf.xml 78B
README.md 2KB
共 98 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功