上一页 1 ··· 3 4 5 6 7
摘要: 内容部分来自网络 __getattr__函数的作用: 如果属性查找(attribute lookup)在实例以及对应的类中(通过__dict__)失败, 那么会调用到类的__getattr__函数; 如果没有定义这个函数,那么抛出AttributeError异常。由此可见,__getattr__一定 阅读全文
posted @ 2018-10-10 11:01 Monogem 阅读(10499) 评论(0) 推荐(2) 编辑
摘要: 部分内容来自:https://www.cnblogs.com/klb561/p/8858122.html 一、基础介绍 核心概念:test case, testsuite, TestLoder,TextTestRunner,TextTestResult, test fixture TestCase( 阅读全文
posted @ 2018-10-08 16:37 Monogem 阅读(3242) 评论(0) 推荐(1) 编辑
摘要: selenium第二课(脚本录制seleniumIDE的使用) 转自:https://www.cnblogs.com/hustar0102/p/5906958.html 一、Selenium也具有录制功能,可以web中回放,录制的脚本可以转换为java、python、ruby、php等多种脚本语言。 阅读全文
posted @ 2018-10-08 14:38 Monogem 阅读(2599) 评论(0) 推荐(0) 编辑
摘要: 转自官方文档:http://cn.python-requests.org/zh_CN/latest/ 快速上手 http://cn.python-requests.org/zh_CN/latest/user/quickstart.html 高级用法 http://cn.python-requests 阅读全文
posted @ 2018-09-12 11:13 Monogem 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 转自http://blog.csdn.net/r455678/article/details/52993765 DateTime库是robotframework内置的库 1、对固定日期进行操作,增加或减去单位时间或者时间段 2、对两个时间段进行操作 3、对时间格式转化,获取时间戳。 4、从完整时间中 阅读全文
posted @ 2018-09-06 17:29 Monogem 阅读(2036) 评论(0) 推荐(0) 编辑
摘要: 在RobotFramework--RIDE中把日期转化为整型进行运算 运行结果: 20180906 16:10:17.919 : INFO : ${time} = 2018-09-06 16:10:1720180906 16:10:17.924 : INFO : ${time_2} = 2018-0 阅读全文
posted @ 2018-09-06 16:13 Monogem 阅读(2042) 评论(0) 推荐(0) 编辑
摘要: data 转为timstam可以函数to_timestamp的方式来转化 Select to_timestamp('2018-02-27 09:48:28','yyyy-mm-dd hh24:mi:ss.ff') From dual; select cast(to_timestamp('2011-0 阅读全文
posted @ 2018-09-05 16:57 Monogem 阅读(1106) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7