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. duilib\utils\utils.h(251) : error C2504: “VARIANT”: 未定义基类

    转载:http://blog.csdn.net/SP_daiyq/article/details/44542939?locationNum=3 创建win32应用程序的工程文件,删除不需要的代码,只留 ...

  2. 改变HTML

    改变HTML 1.改变HTML输出流 JavaScript可以创建动态的HTML内容.(注意:不要在加载文档后使用document.write(),这会覆盖文档.) <%@ page langu ...

  3. Python if条件语句

    1. if 条件语句 if 条件: 内容1 内容2 else: 内容3 内容4 # 一个等号是赋值(=) # 两个等号是比较(==) #不等号(!=) #if 条件1 and 条件2(并且) #if ...

  4. android 串口调试

    在usb调试过程中,都会选择串口查看log,更希望在串口中输入命令查看相关状态.但是一般情况下串口调试时 进程用户是shell,即使你在adb shell下是root用户. 暴力方法是在 adroid ...

  5. 用ubuntu下载电影:磁力链接,torrent,迅雷链接

    用ubuntu下载电影:磁力链接,torrent,迅雷链接 操作系统:Ubuntu 14.04 64位 需要软件:Ktorent, Amule 安装软件: sudo apt-get install k ...

  6. jquery初涉,First Blood

    jquery可以帮助干的事情有: 遍历HTML文档 操作DOM 处理事件 执行动画 开发Ajax操作 优点就不在这儿扯蛋了~ 1.jquery环境配置 jquery不需要安装,只需要将下载的jquer ...

  7. LINQ 简单用法【1】

    LINQ:Language INtegrated Query,语言集成查询. 以下内容演示如何利用LINQ进行增加,修改,删除和查询操作,针对数据库. 首先创建Linq Class. 添加数据库信息, ...

  8. CUBRID学习笔记 27 数据类型4

    范围比较 数字和字符串比较 字符串被转为double SELECT i FROM t WHERE i <= all {'11','12'}; i ============= 1 2 3 4 字符 ...

  9. Codeforces Round #288 (Div. 2) C. Anya and Ghosts 模拟

    C. Anya and Ghosts time limit per test 2 seconds memory limit per test 256 megabytes input standard ...

  10. 杭电HDU1042(有点坑的高精度)

    题目:http://acm.hdu.edu.cn/showproblem.php?pid=1042 题意: Given an integer N(0 ≤ N ≤ 10000), your task i ...