摘要: 转载:https://airtest.doc.io.netease.com/tutorial/0_automated_testing/ 6 | 如何在iOS手机上进行自动化测试 6.1 iOS自动化测试 Airtest支持iOS自动化测试,在Mac上为iOS手机部署iOS-Tagent之后,就可以使 阅读全文
posted @ 2019-08-09 11:33 ShineLeem 阅读(1532) 评论(0) 推荐(0) 编辑
摘要: 转载:https://airtest.doc.io.netease.com/tutorial/0_automated_testing/ 3 | Poco的介绍和入门教学 3.1 前言 前面我们已经介绍了基于图像识别的测试框架Airtest,通过图像识别,已经可以编写大部分的测试脚本。但是在某些特殊情 阅读全文
posted @ 2019-08-09 11:32 ShineLeem 阅读(2645) 评论(0) 推荐(0) 编辑
摘要: 转载:https://airtest.doc.io.netease.com/tutorial/0_automated_testing/ 4.1 前言 通过阅读本节教程,你将了解到以下内容: 如何在脚本代码中、运行脚本时指定手机 如何填写--device Android:///的内容 如何便捷地在脚本 阅读全文
posted @ 2019-08-09 11:32 ShineLeem 阅读(1891) 评论(0) 推荐(0) 编辑
摘要: 转载:https://airtest.doc.io.netease.com/tutorial/0_automated_testing/ 2 | Airtest介绍和脚本入门 2.1 前言 通过阅读本小节教程,你将了解以下内容: 一个Airtest脚本例子的详细解析 如何在Python脚本中调用Air 阅读全文
posted @ 2019-08-09 11:31 ShineLeem 阅读(2218) 评论(0) 推荐(0) 编辑
摘要: 转载:https://airtest.doc.io.netease.com/tutorial/0_automated_testing/ 1 | 5分钟上手自动化测试——Airtest+Poco快速上手 1.1 前言 本文档将演示如何使用Airtest Project专用的编辑器AirtestIDE, 阅读全文
posted @ 2019-08-09 11:13 ShineLeem 阅读(2740) 评论(0) 推荐(0) 编辑
摘要: 转载:https://airtest.doc.io.netease.com/tutorial/0_automated_testing/ 序 | 自动化测试概述 引言 如何让零基础的同学掌握自动化测试? 这是Airtest团队五年以来一直在努力做的事情:通过不断完善工具链,让用户以极低的门槛进行自动化 阅读全文
posted @ 2019-08-09 11:12 ShineLeem 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 在urls.py中建立映射关系,index/是你model代码模块中的函数,也可以是你在界面上制定的form表单中的action,这样就可以建立前后端的联系 <form action="/index/" method="post" class="form-horizontal" onsubmit=" 阅读全文
posted @ 2019-08-09 10:49 ShineLeem 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 在settings找到这个标签,在[ ]中写*号 ALLOWED_HOSTS = ['*'] 在开启Django服务的时候用你自己本机的ip地址,也可以用0.0.0.0::8000来代替,这样同一局域网下的其他电脑就可以访问你的ajango的网站了 python manage.py runserve 阅读全文
posted @ 2019-08-09 10:44 ShineLeem 阅读(370) 评论(0) 推荐(0) 编辑
摘要: Django有他自己一套的规范,要想用网上的模板来显示在Django的页面上需要做多出修改 1.修改settings的文件 TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [o 阅读全文
posted @ 2019-08-09 10:40 ShineLeem 阅读(886) 评论(0) 推荐(0) 编辑
摘要: 页面表单数据重复提交,看着很烦人,之前搜索资料看的稀里糊涂,不过最后找到了一个笨方法,就是通过js写一个禁用F5的功能,下面就是这行代码 <script type="text/javascript"> if ( window.history.replaceState ) { window.histo 阅读全文
posted @ 2019-08-09 10:34 ShineLeem 阅读(753) 评论(0) 推荐(0) 编辑