会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
怪圣卡杰
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2018年12月10日
jmeter--轻量级接口自动化测试框架
摘要: jmeter--轻量级接口自动化测试框架 大致思路: jmeter完成接口脚本,Ant完成脚本执行并收集结果生成报告,最后利用jenkins完成脚本的自动集成运行. 环境安装: 1.jdk1.7 配置环境变量(参考前面的分页) 2.jmeter解压到本地,ant解压到本地 3.Ant解压到本地,并配
阅读全文
posted @ 2018-12-10 14:04 怪圣卡杰
阅读(5330)
评论(2)
推荐(0)
2018年12月4日
Python Api接口自动化测试框架 excel篇
摘要: 工作原理: 测试用例在excel上编辑,使用第三方库xlrd,读取表格sheet和内容,sheetName对应模块名,Jenkins集成服务发现服务moduleName查找对应表单,运用第三方库requests请求接口,根据结果和期望值进行断言,根据输出报告判断接口测试是否通过。 1. 数据准备 数
阅读全文
posted @ 2018-12-04 10:57 怪圣卡杰
阅读(2035)
评论(0)
推荐(0)
2018年12月3日
jmeter 遍历数据库
摘要:
阅读全文
posted @ 2018-12-03 16:48 怪圣卡杰
阅读(377)
评论(0)
推荐(0)
2018年11月21日
python+selenium十三:破解简单的图形验证码
摘要: python+selenium十三:破解简单的图形验证码 此方法可破解简单的验证码,如: 注:中文识别正在寻找办法 安装: 1、python3 2、Pillow 3、pytesseract 4、tesseract-ocr 下载地址:https://pan.baidu.com/s/1kXIsg1S9C
阅读全文
posted @ 2018-11-21 23:40 怪圣卡杰
阅读(628)
评论(0)
推荐(0)
python+selenium十二:一个输入框双层input标签
摘要: python+selenium十二:一个输入框双层input标签 先点击第一个,再对第二个进行操作,否则操作失败 driver.find_element_by_css_selector(".pwd").click()driver.find_element_by_css_selector(".pass
阅读全文
posted @ 2018-11-21 23:38 怪圣卡杰
阅读(346)
评论(0)
推荐(0)
python+selenium十:selenium的二次封装
摘要: python+selenium十:基于原生selenium的二次封装 from selenium import webdriverfrom selenium.webdriver.support.wait import WebDriverWaitfrom selenium.webdriver.supp
阅读全文
posted @ 2018-11-21 23:37 怪圣卡杰
阅读(2016)
评论(0)
推荐(0)
python+selenium十一:jQuery和js语法、js处理iframe
摘要: python+selenium十一:jQuery和js语法、js处理iframe selenium 执行jQuery/js语法 driver.execute_script(jQuery/js) 1、jQuery jQuery只支持css语法: jquery = '$(CSS).val("XXX");
阅读全文
posted @ 2018-11-21 23:36 怪圣卡杰
阅读(363)
评论(0)
推荐(0)
python+selenium八:Alert弹窗
摘要: python+selenium八:Alert弹窗 # 此弹窗是浏览器自带的弹窗,不是html中的元素 from selenium import webdriverfrom selenium.webdriver.common.action_chains import ActionChainsimpor
阅读全文
posted @ 2018-11-21 23:35 怪圣卡杰
阅读(266)
评论(0)
推荐(0)
python+selenium九:ddt数据驱动
摘要: python+selenium九:ddt数据驱动 读取excel内容 import xlrdclass ExcelUtil(): def __init__(self, excelPath, sheetName): #def __init__(self, excelPath, sheetName):
阅读全文
posted @ 2018-11-21 23:35 怪圣卡杰
阅读(376)
评论(0)
推荐(0)
python+selenium六:隐式等待
摘要: python+selenium六:隐式等待 # 隐式等待# 全局生效,只写一次即可(仅当前页面)# 若有页面切换,需sleep等待新页面出现后,再使用此方法# 如:在35秒内,等待操作完成,完成后,不再等待# driver.implicitly_wait(35)from selenium impor
阅读全文
posted @ 2018-11-21 23:34 怪圣卡杰
阅读(352)
评论(0)
推荐(0)
python+selenium七:下拉框、选项框、select用法
摘要: python+selenium七:下拉框、选项框、select用法 from selenium import webdriverfrom selenium.webdriver.common.action_chains import ActionChainsimport timedriver = we
阅读全文
posted @ 2018-11-21 23:34 怪圣卡杰
阅读(4503)
评论(0)
推荐(0)
python+selenium四:iframe查看、定位、切换
摘要: python+selenium四:iframe查看、定位、切换 1.查看iframe 1.Top Window:可直接定位 2.iframe#i:说明此元素在iframe上 3.iframe显示为空:(id或name为空) 4.右边这个看到是空的(2层iframe) from selenium im
阅读全文
posted @ 2018-11-21 23:33 怪圣卡杰
阅读(833)
评论(0)
推荐(0)
python+selenium五:多窗口切换与获取句柄
摘要: python+selenium五:多窗口切换与获取句柄 from selenium import webdriverfrom selenium.webdriver.common.by import Byimport timedriver = webdriver.Firefox()driver.get
阅读全文
posted @ 2018-11-21 23:33 怪圣卡杰
阅读(499)
评论(0)
推荐(0)
python+selenium三:鼠标事件与键盘事件
摘要: python+selenium三:鼠标事件与键盘事件 # 1、鼠标事件:# 每个模拟事件后需加.perform() 才会执行# context_click() 右击# double_click() 双击# drag_and_drop(source, target) 拖动# move_to_eleme
阅读全文
posted @ 2018-11-21 23:32 怪圣卡杰
阅读(520)
评论(0)
推荐(0)
python+selenium二:定位方式
摘要: python+selenium二:定位方式 # 八种单数定位方式:elementfrom selenium import webdriverimport timedriver = webdriver.Firefox()time.sleep(2) # 等待2秒driver.get('https://w
阅读全文
posted @ 2018-11-21 23:31 怪圣卡杰
阅读(309)
评论(0)
推荐(0)
python+selenium一:对浏览器的常规操作
摘要: # 1.打开Firefox浏览器 from selenium import webdriverdriver = webdriver.Firefox()driver.get("https://www.baidu.com") # 2.打开Ie或Chrome浏览器-->先将驱动文件放到python根目录
阅读全文
posted @ 2018-11-21 23:30 怪圣卡杰
阅读(321)
评论(0)
推荐(0)
2018年11月9日
mysql之主从复制
摘要: 数据库复制对于系统高可用、高性能的提升扮演者很重要的角色,本文就mysql主从复制涉及相关知识进行总结,如果您恰好在从事这方面工作,希望能够对您有所帮助。 1 主库配置 1.1 my.cnf配置: 在主库配置文件my.cnf中进行如下基本配置:2018-11-09 log-bin = mysql-b
阅读全文
posted @ 2018-11-09 18:20 怪圣卡杰
阅读(282)
评论(0)
推荐(0)
centos7下mysql 用户管理和权限设置
摘要: 1.进入mysql命令行,输入root及密码[root@localhost ~]# mysql -u root -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connectio
阅读全文
posted @ 2018-11-09 14:26 怪圣卡杰
阅读(1032)
评论(0)
推荐(0)
2018年11月8日
MySQL 8.0主从(Master-Slave)配置
摘要: 版权声明:转载请注明出处,谢谢配合。 https://blog.csdn.net/zyhlwzy/article/details/80569422 版权声明:转载请注明出处,谢谢配合。 https://blog.csdn.net/zyhlwzy/article/details/80569422 版权
阅读全文
posted @ 2018-11-08 11:45 怪圣卡杰
阅读(7100)
评论(0)
推荐(0)
2018年11月7日
Linux MySQL-5.7 root初始密码修改
摘要: 操作系统为centos7 64 1、修改 /etc/my.cnf,在 [mysqld] 小节下添加一行:skip-grant-tables=1 这一行配置让 mysqld 启动时不对密码进行验证 2、重启 mysqld 服务:systemctl restart mysqld 3、使用 root 用户
阅读全文
posted @ 2018-11-07 10:33 怪圣卡杰
阅读(1890)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告