各个组件的含义: TestCase:测试用例,测试用例里面会有很多测试方法,是单元测试中最小维度的测试行为。 TestSuite:测试套件,是测试用例的集合。 TestFixure:测试固件,测试准备工作和收尾工作,打开和关闭浏览器,链接和关闭数据库,可有可无 TestRunner:测试运行器,运行 ...
分类:
其他好文 时间:
2019-04-10 13:35:05
阅读次数:
187
To obtain the object which refers to the containing test case, use the following code snippet: Groovy def case = testRunner.testCase; By using the tes ...
分类:
其他好文 时间:
2019-02-26 19:39:15
阅读次数:
150
简介:HTMLTestRuner介绍 1, 无法使用pip安装,手工下载 2, python3和python2语法不一致导致了HTMLTestRunner在py3中不兼容 解决办法:导入下面的HTMLTestRunner.py """ A TestRunner for use with the Py ...
分类:
其他好文 时间:
2018-11-11 20:14:26
阅读次数:
219
robotframework运行中断后或重复运行后,ride中经常会出现控制台不显示日志信息,主要原因是因为编码不支持中文的原因 解决方法: 修改"C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunner.py"文件po ...
分类:
其他好文 时间:
2018-10-17 00:00:35
阅读次数:
333
1 """ 2 A TestRunner for use with the Python unit testing framework. It 3 generates a HTML report to show the result at a glance. 4 5 The simplest way... ...
分类:
编程语言 时间:
2018-09-28 13:46:43
阅读次数:
130
解决办法: 1、找到对应位置的testrunner.py文件,修改字符集为GBK 2、删除同级目录下的testrunner.pyc 3、重启ride ...
分类:
其他好文 时间:
2018-09-05 23:52:49
阅读次数:
247
""" A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a glance. The simplest way to use th... ...
分类:
Web程序 时间:
2018-07-28 00:11:21
阅读次数:
158
robotframework运行中断后或重复运行后,ride中经常会出现控制台不显示日志信息,主要原因是因为编码不支持中文的原因 解决方法: 修改"C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunner.py"文件po ...
分类:
其他好文 时间:
2018-07-16 11:20:23
阅读次数:
316
# -*- coding: utf-8 -*-"""A TestRunner for use with the Python unit testing framework. Itgenerates a HTML report to show the result at a glance.The si ...
分类:
Web程序 时间:
2018-07-05 14:54:51
阅读次数:
231
本篇主要实现selenium自动化测试之百度搜索+有道翻译的简单测试用例执行,并通过HTML TestRunner生成html测试报告.这是前不久跟着视频学习的时候,练习的第一个HTMLTestRunner脚本,基于python3的脚本。 test_baidu,py test_youdao.py a ...
分类:
Web程序 时间:
2018-06-06 12:30:10
阅读次数:
342