摘要: selenium webdriver进行元素定位时,通过seleniumAPI官方介绍,获取页面元素的方式一共有以下八种方式,现按照常用→不常用的顺序分别介绍一下。 官方api地址:https://seleniumhq.github.io/selenium/docs/api/java/index.h 阅读全文
posted @ 2018-08-07 16:46 古丶灬月 阅读(23558) 评论(0) 推荐(0) 编辑
摘要: Zabbix 介绍 Zabbix 介绍 zabbix(音同 zæbix)是一个基于WEB界面的提供分布式系统监视以及网络监视功能的企业级的开源解决方案。 zabbix能监视各种网络参数,保证服务器系统的安全运营;并提供灵活的通知机制以让系统管理员快速定位/解决存在的各种问题。 Zabbix 作为企业 阅读全文
posted @ 2018-07-24 18:32 古丶灬月 阅读(6968) 评论(4) 推荐(1) 编辑
摘要: @echo offecho 代理设置reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /freg add "HKCU\Software 阅读全文
posted @ 2017-09-23 14:20 古丶灬月 阅读(1637) 评论(0) 推荐(0) 编辑
摘要: 执行sql报错:Error updating database. Cause: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4258995 > 4194304) 需要修改max_allowed_packet 阅读全文
posted @ 2017-08-15 16:29 古丶灬月 阅读(3038) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.petrikainulainen.net/programming/maven/creating-code-coverage-reports-for-unit-and-integration-tests-with-the-jacoco-maven-plugin/ 阅读全文
posted @ 2017-08-02 17:40 古丶灬月 阅读(1229) 评论(0) 推荐(0) 编辑
摘要: 其中checkstyle-8.0-all.jar是checkstyle依赖的jar包,可以在https://sourceforge.net/projects/checkstyle/files/checkstyle/处下载使用 code_rules.xml是公司内部的checkstyle规范文档,可以 阅读全文
posted @ 2017-07-21 16:20 古丶灬月 阅读(2227) 评论(0) 推荐(0) 编辑
摘要: 一、Selenium也具有录制功能,可以web中回放,录制的脚本可以转换为java、python、ruby、php等多种脚本语言。seleniumIDE是Firefox的一个插件,依附于Firefox,所以需要先安装Firefox浏览器。 二、Firefox官方下载地址:http://www.fir 阅读全文
posted @ 2016-09-25 22:06 古丶灬月 阅读(25126) 评论(0) 推荐(0) 编辑
摘要: selenium介绍和环境搭建 一、简单介绍 1.selenium:Selenium是一个用于Web应用程序测试的工具。Selenium测试直接运行在浏览器中,就像真正的用户在操作一样。支持的浏览器包括IE、Mozilla Firefox、Chrome等。支持自动录制动作和自动生成,Net、Java 阅读全文
posted @ 2016-09-19 15:29 古丶灬月 阅读(18392) 评论(4) 推荐(4) 编辑
摘要: 报这个错,是因为你使用了selenium3+Firefox。在selenium3中,使用Firefox,需要添加驱动。 您可以从Github上下载驱动程序下载网址- https://github.com/mozilla/geckodriver/releases/tag/v0.9.0 在代码中加入 S 阅读全文
posted @ 2016-09-06 15:41 古丶灬月 阅读(6642) 评论(1) 推荐(1) 编辑
摘要: import datetime today = datetime.date.today()oneday = datetime.timedelta(days=1)yesterday = today-oneday tomorrow=today+oneday print todayprint oneday 阅读全文
posted @ 2016-06-16 11:09 古丶灬月 阅读(2394) 评论(0) 推荐(0) 编辑