摘要: "_"单下划线:"单下划线 " 开始的成员变量叫做保护变量,意思是只有类对象(即类实例)和子类对象自己能访问到这些变量,需通过类提供的接口进行访问;不能用'from module import *'导入 "__xx__"前后各双下划线:内建方法,用于python自己调用;系统定义名字,前后均有一个“ 阅读全文
posted @ 2018-05-22 16:21 cc344525813 阅读(229) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-05-22 11:30 cc344525813 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 非常感谢原作者:eastmount,原地址:http://blog.csdn.net/eastmount/article/details/48108259 感谢感谢 这篇文章主要Selenium+Python自动测试或爬虫中的常见定位方法、鼠标操作、键盘操作介绍,希望该篇基础性文章对你有所帮助,如果 阅读全文
posted @ 2017-05-09 18:16 cc344525813 阅读(1299) 评论(0) 推荐(0) 编辑
摘要: 1、使用unittest.defaultTestLoader.discover(self.casePath,pattern=case_name+'.py',top_level_dir=None) # pattern 的文件名必须是test开头,test_开头都不行,否则加载不到文件 注:框架,dis 阅读全文
posted @ 2017-04-19 17:47 cc344525813 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 参考博客:http://blog.csdn.net/damotiansheng/article/details/43916881 http://my.oschina.net/leejun2005/blog/109679 感谢博主 一、临时添加: 1、添加时使用sys.path.append添加,每次 阅读全文
posted @ 2017-04-19 09:51 cc344525813 阅读(1733) 评论(0) 推荐(0) 编辑
摘要: node启动appium.js,appium.js目录中不能有空格或者(x86)等字样 阅读全文
posted @ 2017-04-18 18:12 cc344525813 阅读(1175) 评论(0) 推荐(0) 编辑
摘要: 转自https://testerhome.com/topics/2583 一、查看内存 查看Android应用内存: adb shell dumpsys meminfo 1、查看详细的内存: adb shell dumpsys meminfo pakagename or Pid 看其中的Size 可 阅读全文
posted @ 2017-04-17 15:58 cc344525813 阅读(2480) 评论(0) 推荐(0) 编辑
摘要: 表如下: 查询分数大于60分的学生姓名 1、select name from sc group by name having(或者用where) name not in(select name from sc where score<80); 2、select name from sc group 阅读全文
posted @ 2017-04-11 18:18 cc344525813 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 一、针对数据 1、增加数据 insert into tname VALUES(1,'a',2); 或者 insert into tname(id,name,age) VALUES(1,'a',2); 2、修改数据 update tname SET age=3;后面可加where判断语句 3、删除数据 阅读全文
posted @ 2017-04-11 17:44 cc344525813 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 将博客搬至CSDN 阅读全文
posted @ 2017-04-10 11:06 cc344525813 阅读(83) 评论(0) 推荐(0) 编辑