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 ...
随机推荐
- 在centos6.3用yum安装redis
一.centos默认的安装源在官方centos.org上,而redis在第三方的yum源里,所以无法安装,非官方的yum推荐用fedora的epel仓库.当然也可通过配置 /etc/yum.repos ...
- 事务mysql
一.事务的概念 事务指逻辑上的一组操作,组成这组操作的各个单元,要不全部成功,要不全部不成功. 例如:A——B转帐,对应于如下两条sql语句 update from account set mone ...
- ZOJ 1015 Fishing Net(判断弦图)
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=15 题意:给定一个图.判断是不是弦图? 思路:(1)神马是弦图?对于一 ...
- 梯度下降法VS随机梯度下降法 (Python的实现)
# -*- coding: cp936 -*- import numpy as np from scipy import stats import matplotlib.pyplot as plt # ...
- Upgrade Bioconductor
(1)Checking Version of Bioconductor > source("http://bioconductor.org/biocLite.R")Bioco ...
- web后门top
看到了一个博客 觉得关键点很有用 1)出现频率最高的DDoS后门文件名 abc.php, xl.php, Xml.php, dedetag.class.php, counti.php, plase. ...
- 转载:windows的mysql提权方式
mysql提权语句归纳如下: 一 UDF提权 这类提权方法我想大家已经知道了,我大致写一下,具体语句如下: create function cmdshell returns string soname ...
- 10.Properties
The common language runtime (CLR) offers two kinds of properties: 1.parameterless properties, which ...
- Codeforces Round #249 (Div. 2) A题
链接:http://codeforces.com/contest/435/problem/A A. Queue on Bus Stop time limit per test 1 second m ...
- SG函数题目
HDU Fibonacci again and again 思路: 把整个游戏看成三个子游戏,然后求游戏的和 关键理解g(x) = mex(g(y), y€f(x)) , f(x)表示由x点可达的点, ...