提交测试框架样例

This commit is contained in:
NINAN240778 2021-08-13 00:13:57 +08:00
parent a565af2c7a
commit 4fc0950231
4 changed files with 389 additions and 378 deletions

View File

@ -31,6 +31,7 @@ robotframework + python的web接口业务测试框架
#### 运行demo.robot
- 给出了个demo脚本robot\Ap_web\demo.robot
> C:\python3\Scripts\robot.bat(上述装好robotframe后python路径下有的) -v top:test.txt(top文件) -i test_demo -d F:\mayun\robotframework\log\ -L Trace -P F:\mayun\robotframework\lib F:\mayun\robotframework\robot\Ap_web
- -v 可跟变量文件
@ -40,3 +41,7 @@ robotframework + python的web接口业务测试框架
- 可查看run的结果
- robot\Ap_web\Ap_demo.robot就是一个业务功能脚本
- robot官网
- https://robotframework.org/
- 内置关键字方法http://robotframework.org/robotframework/latest/libraries/BuiltIn.html

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1582,7 +1582,7 @@ storage = function () {
window.output = {};
</script>
<script type="text/javascript">
window.output["suite"] = [1,2,3,0,[],[1,0,2034],[[4,5,6,7,[],[1,1393,638],[],[[8,9,1,0,[10],[1,1404,625],[]]],[],[1,1,1,1]]],[],[],[1,1,1,1]];
window.output["suite"] = [1,2,3,0,[],[1,0,1977],[[4,5,6,7,[],[1,1396,579],[],[[8,9,1,0,[10],[1,1409,564],[]]],[],[1,1,1,1]]],[],[],[1,1,1,1]];
</script>
<script type="text/javascript">
window.output["strings"] = [];
@ -1594,10 +1594,10 @@ window.output["strings"] = window.output["strings"].concat(["*","*Ap web","*F:\\
window.output["stats"] = [[{"elapsed":"00:00:01","fail":0,"label":"Critical Tests","pass":1},{"elapsed":"00:00:01","fail":0,"label":"All Tests","pass":1}],[{"elapsed":"00:00:01","fail":0,"label":"test_demo","pass":1}],[{"elapsed":"00:00:02","fail":0,"id":"s1","label":"Ap web","name":"Ap web","pass":1},{"elapsed":"00:00:01","fail":0,"id":"s1-s1","label":"Ap web.Demo","name":"Demo","pass":1}]];
</script>
<script type="text/javascript">
window.output["baseMillis"] = 1628781668506;
window.output["baseMillis"] = 1628784117411;
</script>
<script type="text/javascript">
window.output["generated"] = 2163;
window.output["generated"] = 2106;
</script>
<script type="text/javascript">
window.settings = {"background":{"fail":"#f66","nonCriticalFail":"#9e9","pass":"#9e9"},"logURL":"log.html","title":""};