我们用python拓展模板 HTMLTestRunner.py

python3 要自己重新改写下输出输入接口,可直接下载 改好的 地址 链接:http://pan.baidu.com/s/1hsOBw12 密码:u3pz

把下载好的 HTMLTestRunner.py 放到 python安装路径的 lib下 C:\Users\Administrator\AppData\Local\Programs\Python\Python35\Lib

执行下面:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtgAAADXCAIAAACveLGuAAAgAElEQVR4nO2d+3cUVdb3zx+R317jMlkTZj2umff9QRxB5oJmnuc1QZ1hIvH2KooYb8MlXETnEVF4gEFUAjFGUBTEAAKieDcB0pggdwJELgkJgdwvBJJO4jTCmPeH6q4+XedS51RVd3WT72ftxTp9etfe++yqrvNNp9OQnoFrImu5+FPgSN2Gz/fsqWlou/xzR/9VZzZ69Ojh4eH1FadhMBgMBktaW7ml+u+vrH5kxj+9tb+/snrlluqEpVi3cecjf7gnOy3TW3vkD/es27hT1LpVzYOjR492JhKIRIgY1twz9M3e2m0VBxs7gxAiMBgMBrte7cnni76rOtbUGfTWvqs69uTzRQlL8ZdRt5aveXew9rC3Vr7m3b+MulXUOldCpHvgmor9cKLp7U3fbvpm3449NbpmCJEPd57h2opVpVomigODwWAwmBubPHNZU2ew6scOb62pMzh55rKEpchOyxw4frDr4/e8tYHjB7PTMkWte+PC4OjRox0ohB17akh38JqiHa1r++jzwOX+4DVNDCHy0e46rq1YVVpbd15kT7+4kv53xapSa4QFdxFy17TozFd/u4nctiDmocltf7qLWPnV3943PFfexjxHCIkNnhB7f9r/ilZlZwvuIjdNW5bgCq9jS6V+rrxN/TqBwWAK9ljha+c6gntqO7y1cx3BxwpfS1iK7LTM4NH9HRtXd25a3blpdefGsBkzHcYgMu6MsTXhozauiR4YGQSP7s9OyxS1bun5wdGjR+vKAwMNIdIdvLb32Llt3/3w89WrwzoYQqSssp5rK1aVHjx8RNFWrCqNPZxRDzf96oaYh9OWVdaXfTDthvEryyrryxbkkPEryyrrlz32q9sW1JdVfp1306/yPjBD5Uy3lsedZI0qw0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iAAAAAAjAQgRCBEAAADANyBEIEQAAAAA34AQgRABAAAAfANCBEIEAAAA8A0IkcR9jwgAAAAALECIJPqbVQEAAABgAiGS6P9rBgAAAAAmECKJ/t93AQAAAGACIcL/sCq0CAAAAJAAIETwjggAAADgGxAi+IwIAAAA4BsQIvirGQAAAMA3IETwPSIAAACAb0CI4JtVAQAAAN+AEIEQAQAAAHwDQgRCBAAAAPANCBEIEQAAAMA3IEQgRAAAAADfgBCBEAEAAAB8A0IEQgQAAADwDQgRCBEAAADANyBEIEQAAAAA34AQgRABAAAAfANCBEIEAAAA8A0IEQgRAAAAwDcgRCBEAAAAAN+AEIEQAQAAAHwDQgRCBAAAAPANCBEIEQAAAMA3IEQgRAAAAADfgBCBEAEAAAB8A0IEQgQAAADwDQgRCBEAAADANyBEIEQAAAAA34AQgRABAAAAfANCBEIEAAAA8A0IEQgRAAAAwDcgRCBEAAAAAN+AEIEQAQAAAHwDQgRCBAAAAPANCBEIEQAAAMA3IEQgRAAAAADfgBCBEAEAAAB8A0IEQgQAAADwDQgRCBEAAADANyBEIEQAAAAA34AQgRABAAAAfANCBEIEAAAA8A0IEQgRAAAAwDcgRCBEAAAAAN+AEIEQAQAAAHwDQgRCBAAAAPANCBEIEQAAAMA3IEQgRAAAAADfgBCBEAEAAAB8A0IEQgQAAADwDQgRCBEAAADANyBEIEQAAAAA34AQgRABAAAAfANCBEIEAAAA8A0IEQgRAAAAwDcgRCBEAAAAAN+AEIEQAQAAAHwjWYRIQfwhECIAAABAkpEsQuS5JV/E2wiECAAAAJBkJIkQ+f8zJvq/yVBQlAAAAABJRU5ErkJggg==" alt="" />

可以用了:

# conding=utf-
from appium import webdriver
import time
import sys
import re
import HTMLTestRunner
import unittest
import datetime xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx if __name__ == '__main__':
suite = unittest.TestSuite()
suite.addTest(Login('test_login_back'))
suite.addTest(Login('test_login_set'))
suite.addTest(Login('test_login_forgetpsd'))
suite.addTest(Login('test_login_register'))
suite.addTest(Login('test_login_phone_null'))
suite.addTest(Login('test_login_phone_error1'))
suite.addTest(Login('test_login_phone_error2'))
suite.addTest(Login('test_login_phone_error3'))
suite.addTest(Login('test_login_phone_error4'))
suite.addTest(Login('test_login_phone_error5'))
suite.addTest(Login('test_login_phone_right'))
timestr = time.strftime('%Y%m%d%H%M%S',time.localtime(time.time()))
filename = "D:\\result_" + timestr + ".html"
print (filename)
fp = open(filename, 'wb')
runner = HTMLTestRunner.HTMLTestRunner(
stream=fp,
title='测试结果',
description='测试报告'
)
#suite = unittest.TestLoader().loadTestsFromTestCase(ContactsAndroidTests)
#unittest.TextTestRunner(verbosity=).run(suite)
runner.run(suite)
#g_browser.quit()
fp.close() #测试报告关闭

appium_python-测试报告模板话化的更多相关文章

  1. ReportNG测试报告模板定制

      部分参考:http://tech.it168.com/a2013/0906/1530/000001530755_3.shtml ReportNG提供了简单的方式来查看测试结果,并能对结果进行着色, ...

  2. python - HTMLTestRunner 测试报告模板设置

    python - HTMLTestRunner 测试报告模板设置 优化模板下载地址: http://download.csdn.net/download/chinayyj2010/10039097   ...

  3. python接口自动化(五)--接口测试用例和接口测试报告模板(详解)

    简介 当今社会在测试领域,接口测试已经越来越多的被提及,被重视,而且现在好多招聘信息要对接口测试提出要求.区别于传统意义上的系统级别测试,很多测试人员在接触到接口测试的时候,也许对测试执行还可以比较顺 ...

  4. C++学习之模板特例化

    模板是C++中一个很重要的特性,写一份代码能用于多种数据类型(包括用户自定义类型).例如,STL的sort()函数可以用于多种数据类型的排序,类stack可以用作多种数据类型的栈.但是,如果我们想对特 ...

  5. HttpRunner学习9--切换测试报告模板

    前言 在HttpRunner中,给我们提供了 2 套测试报告模板,分别是 default_report_template.html 和 extent_report_template.html . 默认 ...

  6. Jmeter接口测试报告模板优化(续)

    在之前的基础上又优化了一下: 1.增加了对接口响应时间段的统计,如小于0.5s的请求有多少,0.5-1s的有多少,大于1s的有多少.可以自行修改.且不同范围内的时间字体颜色不一样,便于区分. < ...

  7. Jmeter接口测试报告模板优化

    优化后在接口报告的接口信息中,直接展示url,method,结果和响应时间,详情中展示请求和响应数据.具体如下: 模板文件 jmeter-results-detail-report_21.xsl: & ...

  8. dedecms 模板静态化

    require_once (dirname(__FILE__) . "/../include/common.inc.php"); require_once DEDEINC.&quo ...

  9. 前端模板文件化jQuery插件 $.loadTemplates

    工作中使用前端模板引擎,如 artTemplate.jsRender,来替代拼接字符串. 可是直接把模板写在页面上会带来页面臃肿,模板无法重用,与 ASP.NET等后端语言语法冲突等问题. 所以将多个 ...

随机推荐

  1. 【bzoj1258】三角形tri[CQOI2007](乱搞)

    题目传送门:https://www.lydsy.com/JudgeOnline/problem.php?id=1258 这是道很意思的大水题,虽然看上去一脸懵逼,但画张图出来看看也可以窥见一丝端倪. ...

  2. 导出android真机上应用的apk文件

    1. 首先你的手机要开启调试模式 2. 终端输入命令行 (这个时候需要在手机端打开此应用.它的思路是抓取出当前窗口的包名.以下命令操作自己未亲自验证.) adb shell dumpsys windo ...

  3. sqoop1.4.6 全量导入与增量导入 与使用技巧

    全量导入: sqoop import --connect jdbc:mysql://192.168.0.144:3306/db_blog --username root --password 1234 ...

  4. Spark Shuffle的技术演进

      在Spark或Hadoop MapReduce的分布式计算框架中,数据被按照key分成一块一块的分区,打散分布在集群中各个节点的物理存储或内存空间中,每个计算任务一次处理一个分区,但map端和re ...

  5. 区间dp的感悟

    学区间dp似乎也很久了...对区间dp的通用模型都了解了一些 但是做题还是很坑 上了一点难度的题基本想不出什么思路.. 目前的做题方式就是看题 想一会发现自己不会做 看题解 好巧妙啊 理解后写一发.. ...

  6. linux-RabbitMQ安装命令

    一.RabbitMQ 1.安装配置epel源    $ rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.no ...

  7. VC++异常捕获??

    1. std: #include <string> #include<iostream> // for cerr //#include <stdexcept> // ...

  8. ie 元素兼容性总结

    css 属性元素 2.z-index 正常按自身层级决定显示顺序,在ie6 7 还需要依赖于父级的层级决定,排布在后边的元素排在前面.后来者居上覆盖前者. IE6,7支持inline元素转换成inli ...

  9. 解决mssql for linux 中文乱码问题

    什么叫一波未平一波又起,这就是,好不容易安装完成了,在用的时候居然出现了乱码,很是头疼,但还是解决了这个蛋疼的问题,在windows中使用mssql这么久,从来没出现过中文乱码的情况,具体原因是出现在 ...

  10. python后端面试题

    1. 果壳 电话面试: 说一下TCP的三次握手,四次挥手,为什么会这样? http安全的性的了解,说一下对cookie和session的了解: 对mysql的了解,说一下你常用的数据类型,char和v ...