robot API笔记4
robot.htmldata包
包编写HTML格式的输出文件。
这个包被认为是稳定的但不是公共API的一部分。
robot.htmldata.htmlfilewriter module
- class
robot.htmldata.htmlfilewriter.HtmlFileWriter(output, model_writer) -
语法:
objectwrite(template)
- class
robot.htmldata.htmlfilewriter.ModelWriter -
语法:
robot.htmldata.htmlfilewriter._Writerhandles(line)
write(line)
- class
robot.htmldata.htmlfilewriter.LineWriter(output) -
语法:
robot.htmldata.htmlfilewriter._Writerhandles(line)
write(line)
- class
robot.htmldata.htmlfilewriter.GeneratorWriter(html_writer) -
语法:
robot.htmldata.htmlfilewriter._Writerwrite(line)
handles(line)
- class
robot.htmldata.htmlfilewriter.JsFileWriter(html_writer, base_dir) -
语法:
robot.htmldata.htmlfilewriter._InliningWriterwrite(line)
handles(line)
- class
robot.htmldata.htmlfilewriter.CssFileWriter(html_writer, base_dir) -
语法:
robot.htmldata.htmlfilewriter._InliningWriterwrite(line)
handles(line)
robot.htmldata.jartemplate module
- class
robot.htmldata.jartemplate.HtmlTemplate(filename) -
语法:
object
robot.htmldata.jsonwriter module
- class
robot.htmldata.jsonwriter.JsonWriter(output, separator='') -
语法:
objectwrite_json(prefix, data, postfix=';\n', mapping=None, separator=True)
write(string, postfix=';\n', separator=True)
- class
robot.htmldata.jsonwriter.JsonDumper(output) -
语法:
objectdump(data, mapping=None)
write(data)
- class
robot.htmldata.jsonwriter.StringDumper(jsondumper) -
语法:
robot.htmldata.jsonwriter._Dumperdump(data, mapping)
handles(data, mapping)
- class
robot.htmldata.jsonwriter.IntegerDumper(jsondumper) -
语法:
robot.htmldata.jsonwriter._Dumperdump(data, mapping)
handles(data, mapping)
- class
robot.htmldata.jsonwriter.DictDumper(jsondumper) -
语法:
robot.htmldata.jsonwriter._Dumperdump(data, mapping)
handles(data, mapping)
- class
robot.htmldata.jsonwriter.TupleListDumper(jsondumper) -
语法:
robot.htmldata.jsonwriter._Dumperdump(data, mapping)
handles(data, mapping)
- class
robot.htmldata.jsonwriter.MappingDumper(jsondumper) -
语法:
robot.htmldata.jsonwriter._Dumperhandles(data, mapping)
dump(data, mapping)
- class
robot.htmldata.jsonwriter.NoneDumper(jsondumper) -
语法:
robot.htmldata.jsonwriter._Dumperhandles(data, mapping)
dump(data, mapping)
robot.htmldata.normaltemplate module
- class
robot.htmldata.normaltemplate.HtmlTemplate(filename) -
语法:
object
robot.htmldata.template module
robot API笔记4的更多相关文章
- robot API笔记1
robot.api 包公开的公共api机器人框架 除非另有声明,公开的api在这个包中被认为是稳定的, 从而构建外部工具时,安全使用的机器人框架. 目前暴露api: logger 模块测试库的日志的目 ...
- robot API笔记6
robot.libraries 计划举办机器人框架标准测试库. 图书馆是主要用于外部的测试数据,但是他们可以 也使用自定义测试库是否有必要. 特别是 的内装式 图书馆通常是有用的 当需要与框架. 因为 ...
- robot API笔记5
实现了 Libdoc 工具. 命令行Libdoc入口点和编程接口 提供的是单独的吗 robot.libdoc 模块. 这个包被认为是稳定的但不是公共API的一部分. robot.libdocpkg.L ...
- robot API笔记3
robot.htmldata package 包编写HTML格式的输出文件. 这个包被认为是稳定的但不是公共API的一部分. Submodules robot.htmldata.htmlfilewri ...
- robot API笔记2
robot.conf 设计方案 实现设置测试执行和输出处理. 这个方案实现了 RobotSettings 和 RebotSettings 内部使用的类 该框架. 不应该有这些类需要使用外部.这个包可以 ...
- Python Socket API 笔记
将上节中的C#该成Python版的容易程度大大超出了我的意料之外.从来没有发现,仅仅用灰尘简单的几句话就实现了该程序的主要功能,可见python的简易和强大之处.这里先对SocketAPI 做一下总结 ...
- JS全部API笔记
我相信对于程序猿都有做笔记的习惯. 我初学到现在也做了不少笔记,以前,总是怕写的文章或者好的内容分享出来就怕被直接copy以后更个名就不再是你的. 但通过博客园,学习到不少东西,人家都不怕什么了,我自 ...
- robot framework笔记(一):环境配置(基于python3)+在pycharm中编写及运行robot脚本
(一)使用pip安装robotframework框架和seleniumlibrary库 pip install --upgrade robotframework pip install --upgra ...
- UICollectionView基础API笔记
UICollectionView系列API,属性含义笔记.在UICollectionView笔记1中我们了解了UICollectionView是什么,以及可以做什么:在UICollectionView ...
随机推荐
- 第五课 SharedPrefereneces
SharedPreferences总结: 一.SharedPreferences特点 1.本质是基于xml文件储存key-value对数据: 2.SharedPreferences对象本身只能获取数据 ...
- mysql 修改数据库的列
alter table tableName oldcolumn newcolumn datatype;
- 一个数如果恰好等于它的因子之和,这个数就称为 "完数 "。例如6=1+2+3.编程 找出1000以内的所有完数。
package a; public class Wanshu { public static void main(String[] args) { for (int i = 1; i <= 10 ...
- FZU 2151 OOXX Game
OOXX Game Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit St ...
- Cheatsheet: 2013 12.17 ~ 12.31
.NET Introducing ASP.NET Web API Throttling handler C# async and await: A Deeper Dive PARALLEL PROGR ...
- [dataTables.js error] Uncaught TypeError: myTable.row is not a function
使用dataTables.js时遇到的问题. 代码如下: var myTable = $('#dynamic-table') .dataTable({ bAutoWidth : false, &quo ...
- Creating, Stopping, Re-Starting and Deleting a Timer in Oracle Forms
I have written many posts previously on Timers in Oracle Forms like how to change images randomly wi ...
- CSS hack的写法
css hack简单的说就是由于不同的浏览器,比如Internet Explorer 6,Internet Explorer 7,Mozilla Firefox等,对CSS的解析认识不一样,因此会导致 ...
- Python numpy学习笔记(一)
下边代码是关于numpy的一些基本用法,包括数组和矩阵操作等... import numpy as np print "<== print version ==>" p ...
- Typescript的面向对象
封装: var Greeter = (function () { function Greeter(message) { this.greeting = message; } Greeter.prot ...