会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ling_1583651986
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
2018年10月10日
Python的__getattr__方法学习
摘要: 内容部分来自网络 __getattr__函数的作用: 如果属性查找(attribute lookup)在实例以及对应的类中(通过__dict__)失败, 那么会调用到类的__getattr__函数; 如果没有定义这个函数,那么抛出AttributeError异常。由此可见,__getattr__一定
阅读全文
posted @ 2018-10-10 11:01 Monogem
阅读(10631)
评论(0)
推荐(2)
2018年10月8日
selenium自动化测试、Python单元测试unittest框架以及测试报告和日志输出
摘要: 部分内容来自:https://www.cnblogs.com/klb561/p/8858122.html 一、基础介绍 核心概念:test case, testsuite, TestLoder,TextTestRunner,TextTestResult, test fixture TestCase(
阅读全文
posted @ 2018-10-08 16:37 Monogem
阅读(3434)
评论(0)
推荐(1)
seleniumIDE是Firefox的录制功能使用
摘要: selenium第二课(脚本录制seleniumIDE的使用) 转自:https://www.cnblogs.com/hustar0102/p/5906958.html 一、Selenium也具有录制功能,可以web中回放,录制的脚本可以转换为java、python、ruby、php等多种脚本语言。
阅读全文
posted @ 2018-10-08 14:38 Monogem
阅读(2683)
评论(0)
推荐(0)
2018年9月12日
Python学习第三方库Requests: 让 HTTP 服务人类
摘要: 转自官方文档: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
阅读(438)
评论(0)
推荐(0)
2018年9月6日
【转】 robotframework(rf)中对时间操作的datetime库常用关键字
摘要: 转自http://blog.csdn.net/r455678/article/details/52993765 DateTime库是robotframework内置的库 1、对固定日期进行操作,增加或减去单位时间或者时间段 2、对两个时间段进行操作 3、对时间格式转化,获取时间戳。 4、从完整时间中
阅读全文
posted @ 2018-09-06 17:29 Monogem
阅读(2093)
评论(0)
推荐(0)
在RobotFramework--RIDE中把日期转化为整型进行运算
摘要: 在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
阅读(2071)
评论(0)
推荐(0)
2018年9月5日
Oracle中date转为timstam可以函数to_timestamp的方式来转化
摘要: 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
阅读(1136)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
公告