robot.htmldata package

包编写HTML格式的输出文件。

这个包被认为是稳定的但不是公共API的一部分。

Submodules

robot.htmldata.htmlfilewriter模块

classrobot.htmldata.htmlfilewriter.HtmlFileWriter(outputmodel_writer)

Bases: object

write(template)
classrobot.htmldata.htmlfilewriter.ModelWriter

Bases: robot.htmldata.htmlfilewriter._Writer

handles(line)
write(line)
classrobot.htmldata.htmlfilewriter.LineWriter(output)

Bases: robot.htmldata.htmlfilewriter._Writer

handles(line)
write(line)
classrobot.htmldata.htmlfilewriter.GeneratorWriter(html_writer)

Bases: robot.htmldata.htmlfilewriter._Writer

write(line)
handles(line)
classrobot.htmldata.htmlfilewriter.JsFileWriter(html_writerbase_dir)

Bases: robot.htmldata.htmlfilewriter._InliningWriter

write(line)
handles(line)
classrobot.htmldata.htmlfilewriter.CssFileWriter(html_writerbase_dir)

Bases: robot.htmldata.htmlfilewriter._InliningWriter

write(line)
handles(line)

robot.htmldata.jartemplate 模块

classrobot.htmldata.jartemplate.HtmlTemplate(filename)

Bases: object

robot.htmldata.jsonwriter 模块

classrobot.htmldata.jsonwriter.JsonWriter(outputseparator='')

Bases: object

write_json(prefixdatapostfix=';\n'mapping=Noneseparator=True)
write(stringpostfix=';\n'separator=True)
classrobot.htmldata.jsonwriter.JsonDumper(output)

Bases: object

dump(datamapping=None)
write(data)[source]
classrobot.htmldata.jsonwriter.StringDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

dump(datamapping)
handles(datamapping)
classrobot.htmldata.jsonwriter.IntegerDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

dump(datamapping)
handles(datamapping)
classrobot.htmldata.jsonwriter.DictDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

dump(datamapping)[source]
handles(datamapping)
classrobot.htmldata.jsonwriter.TupleListDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

dump(datamapping)
handles(datamapping)
classrobot.htmldata.jsonwriter.MappingDumper(jsondumper)

Bases: robot.htmldata.jsonwriter._Dumper

handles(datamapping)
dump(datamapping)
classrobot.htmldata.jsonwriter.NoneDumper(jsondumper)[source]

Bases: robot.htmldata.jsonwriter._Dumper

handles(datamapping)
dump(datamapping)

robot.htmldata.normaltemplate 模块

classrobot.htmldata.normaltemplate.HtmlTemplate(filename)

Bases: object

robot.htmldata.template 模块

robot API笔记3的更多相关文章

  1. robot API笔记1

    robot.api 包公开的公共api机器人框架 除非另有声明,公开的api在这个包中被认为是稳定的, 从而构建外部工具时,安全使用的机器人框架. 目前暴露api: logger 模块测试库的日志的目 ...

  2. robot API笔记6

    robot.libraries 计划举办机器人框架标准测试库. 图书馆是主要用于外部的测试数据,但是他们可以 也使用自定义测试库是否有必要. 特别是 的内装式 图书馆通常是有用的 当需要与框架. 因为 ...

  3. robot API笔记5

    实现了 Libdoc 工具. 命令行Libdoc入口点和编程接口 提供的是单独的吗 robot.libdoc 模块. 这个包被认为是稳定的但不是公共API的一部分. robot.libdocpkg.L ...

  4. robot API笔记4

    robot.htmldata包 包编写HTML格式的输出文件. 这个包被认为是稳定的但不是公共API的一部分. robot.htmldata.htmlfilewriter module classro ...

  5. robot API笔记2

    robot.conf 设计方案 实现设置测试执行和输出处理. 这个方案实现了 RobotSettings 和 RebotSettings 内部使用的类 该框架. 不应该有这些类需要使用外部.这个包可以 ...

  6. Python Socket API 笔记

    将上节中的C#该成Python版的容易程度大大超出了我的意料之外.从来没有发现,仅仅用灰尘简单的几句话就实现了该程序的主要功能,可见python的简易和强大之处.这里先对SocketAPI 做一下总结 ...

  7. JS全部API笔记

    我相信对于程序猿都有做笔记的习惯. 我初学到现在也做了不少笔记,以前,总是怕写的文章或者好的内容分享出来就怕被直接copy以后更个名就不再是你的. 但通过博客园,学习到不少东西,人家都不怕什么了,我自 ...

  8. robot framework笔记(一):环境配置(基于python3)+在pycharm中编写及运行robot脚本

    (一)使用pip安装robotframework框架和seleniumlibrary库 pip install --upgrade robotframework pip install --upgra ...

  9. UICollectionView基础API笔记

    UICollectionView系列API,属性含义笔记.在UICollectionView笔记1中我们了解了UICollectionView是什么,以及可以做什么:在UICollectionView ...

随机推荐

  1. SqlSever基础 group by之后,加having 对分组之后的数据在进行处理

    镇场诗:---大梦谁觉,水月中建博客.百千磨难,才知世事无常.---今持佛语,技术无量愿学.愿尽所学,铸一良心博客.------------------------------------------ ...

  2. .Net用户控件

    用户控件用户控件是个什么东西?自定义的反复重用的控件集合 好处?1.代码重用2.结构良好3.分工开发4.局部缓存 难点:一.交换信息: 注意信息的交换只在相邻层之间进行交换,如果是嵌套交换信息除Ses ...

  3. 4.给定一个正整数m,统计m的位数,分别打印每一位数字,再按照逆序打印出各位数字。 要求:m定义为类的属性,需定义构造函数为m赋值;当m大于99999时,输出错误信息“the number is too large”,不再执行。

    package a; public class ShuZi { int m; public int getM() { return m; } public void setM(int m) { thi ...

  4. 【leetcode❤python】 20. Valid Parentheses

    #-*- coding: UTF-8 -*-#利用栈的思想#如果输入的左测扩则入栈,如果输入为右侧扩,判断其是否与当前栈顶配对,如果匹配则删除这一对,否则return False#'(', ')', ...

  5. python处理字符串时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法

    解决办法,在该python文件的前面加上如下几句,问题得到解决. import sys default_encoding = 'utf-8' if sys.getdefaultencoding() ! ...

  6. UVA 442 二十 Matrix Chain Multiplication

    Matrix Chain Multiplication Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %l ...

  7. Codeforces Round #375 (Div. 2) D. Lakes in Berland dfs

    D. Lakes in Berland time limit per test 2 seconds memory limit per test 256 megabytes input standard ...

  8. FLASH CC 2015 CANVAS (五)loading的制作

    注意 此贴 为个人边“开荒”边写,所以不保证就是最佳做法,也难免有错误! 正式教程会在后续开始更新 AS3的loading一般我们都写在时间轴第一帧,但是FLASH CC CANVAS的导出项目的lo ...

  9. 深入理解 C# 协变和逆变

    msdn 解释如下: “协变”是指能够使用与原始指定的派生类型相比,派生程度更大的类型. “逆变”则是指能够使用派生程度更小的类型. 解释的很正确,大致就是这样,不过不够直白. 直白的理解: “协变” ...

  10. Gradient Boosted Regression Trees 2

    Gradient Boosted Regression Trees 2   Regularization GBRT provide three knobs to control overfitting ...