03 2016 档案

摘要:abs all any apply basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce compile complex copyright credits delattr dict dir di 阅读全文
posted @ 2016-03-15 11:31 lbw 阅读(150) 评论(0) 推荐(0) 编辑
摘要:把字符串转换为字典: s = "{'a':1}" eval(s) 阅读全文
posted @ 2016-03-14 14:58 lbw 阅读(438) 评论(0) 推荐(0) 编辑
摘要:text_to_be_present_in_element: 判断某个元素中的text是否包含了预期的字符串 text_to_be_present_in_element_value: 判断某个元素中的value属性是否包含了预期的字符串 包含value属性的html标签: <button> <inp 阅读全文
posted @ 2016-03-08 12:40 lbw 阅读(1020) 评论(0) 推荐(0) 编辑
摘要:修改字段名: ALTER TABLE 表名 CHANGE COLUMN 原字段名称 新字段名称 数据类型; 修改字段类型: ALTER TABLE 表名 MODIFY COLUMN 字段名称 数据类型; 阅读全文
posted @ 2016-03-07 13:49 lbw 阅读(192) 评论(0) 推荐(0) 编辑
摘要:keycode 3:首页(Home key) keycode 4:返回键(Back key) keycode 5:电话键(Call key) keycode 6:结束通话键(End Call key) keycode 7-16:数字0-9 keycode 17:* keycode 18:# keyc 阅读全文
posted @ 2016-03-04 15:46 lbw 阅读(1350) 评论(0) 推荐(0) 编辑
摘要:一、先用adb devices列出所有设备序列号 List of devices attached012BDC7N78954789 device132AEC8N57897458 device 二、进入指定设备的shell adb -s 序列号 shell 比如: adb -s 012BDC7N789 阅读全文
posted @ 2016-03-04 11:02 lbw 阅读(1150) 评论(0) 推荐(0) 编辑
摘要:第一种用jQuery的val方法: js = "return $('input').val();" driver.execute_script(js) 第二种用jQuery的attr方法: js = "return $('input').attr('value');" driver.execute_ 阅读全文
posted @ 2016-03-03 16:04 lbw 阅读(16887) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示