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. response.sendRedirect()重新定向的乱码问题

    这里response.sendRedirect("YPbianhaoModify.jsp?jinhuoshang="+jinhuoshang+"&jinhuori ...

  2. java中为什么byte的取值范围是-128到+127

    概念:java中用补码表示二进制数,补码的最高位是符号位,最高位为“0”表示正数,最高位为“1”表示负数.正数补码为其本身:负数补码为其绝对值各位取反加1:例如:+21,其二进制表示形式是000101 ...

  3. 【leetcode❤python】 58. Length of Last Word

    #-*- coding: UTF-8 -*-#利用strip函数去掉字符串去除空格(其实是去除两边[左边和右边]空格)#利用split分离字符串成列表class Solution(object):   ...

  4. ubuntu vi/vim编辑器必知必会

    转载出处:http://blog.csdn.net/xiajun07061225/article/details/7039413 一.我们为什么要学习vim编辑器? Linux的命令行界面下面有非常多 ...

  5. Spring MVC无法获取ajax POST的参数和值

    一.怎么会这个样子 很简单的一个想法,ajax以POST的方式提交一个表单,Spring MVC解析.然而一次次的打印null折磨了我整整一天…… 最后的解决现在看来是很明显的问题,“只是当时已惘然” ...

  6. tomcat源码导入eclipse步骤

    1. 获取源代码 方式一:从官网http://tomcat.apache.org/download-70.cgi 直接下载,官网提供了Binary 和 Source Code两种下载方式,要研究tom ...

  7. python_way day17 jQuery表单验证,事件绑定,插件,文本框架,正则表达式

    python_way day17 1.jQuery表单验证 dom事件绑定 jquery事件绑定 $.each return值的判断 jquery扩展方法 2.前段插件 3.jDango文本框架 4. ...

  8. hdu 5927 Auxiliary Set 贪心

    Auxiliary Set Time Limit: 9000/4500 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Pr ...

  9. git学习笔记02-创建一个仓库提交一个文件-原来就是这么简单

    打开安装好的git bash,设置你的git信息  (这个随便写就行) 初始化一个Git仓库,分三步.(创建文件夹也可以手动创建,也可以命令行创建) 第一步,进到一个目录  cd e: 第二步,创建一 ...

  10. Java中ArrayList相关的5道面试题

    本文参考了 <关于ArrayList的5道面试题 > 1.ArrayList的大小是如何自动增加的? 这个问题我想曾经debug过并且查看过arraylist源码的人都有印象,它的过程是: ...