channy14

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2021年6月10日

摘要: 抽签 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <meta charset="utf-8" /> <style 阅读全文
posted @ 2021-06-10 16:37 channy14 阅读(89) 评论(0) 推荐(0) 编辑

2021年5月19日

摘要: 1、redis #encoding=utf-8 import redis def redis_op(): host = '127.148.167.201' port = 9152 password = 'WCS_REDIS_!(0)' r = redis.Redis(host=host, port= 阅读全文
posted @ 2021-05-19 15:14 channy14 阅读(29) 评论(0) 推荐(0) 编辑

摘要: 浮动等待达到某一条件 def wait_until_expect_redis_result(redis_key, interval=1, max_waittime=30, expect_result='exist',redis_ip='127.48.167.201',redis_port=9052) 阅读全文
posted @ 2021-05-19 14:22 channy14 阅读(38) 评论(0) 推荐(0) 编辑

2021年5月17日

摘要: 生成指定范围内的所有ip #codint:utf8 def get_side(pos, now): global begin, end global first, last # find_side = lambda begin, end, pos, fisrt, last, now: \ (pos 阅读全文
posted @ 2021-05-17 16:55 channy14 阅读(464) 评论(0) 推荐(0) 编辑

2021年5月7日

摘要: 请求函数 def s3_put_file(fileKey): print u'用例开始:' currentFile = test_currentFile_730kb # S3 PUT上传文件 date = get_utctime() rq = s3FileOp('PUT', fileKey, tes 阅读全文
posted @ 2021-05-07 10:03 channy14 阅读(625) 评论(0) 推荐(0) 编辑

2021年3月25日

摘要: 当该输入框输入之后,联动某一个按钮高亮,输入框为空的时候,该按钮置灰 需要将输入框清空,清空的办法1.直接将输入框赋值为${empty}如:input Text ${loactor} ${empty}结果:输入框显示为空了,但是对应的按钮并没有从高亮变成置灰状态 2.有关键词可以直接将输入框内容清除 阅读全文
posted @ 2021-03-25 17:03 channy14 阅读(209) 评论(0) 推荐(0) 编辑

2021年1月28日

摘要: 作者:k221链接:https://www.zhihu.com/question/310500616/answer/1357757452来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 我的看法。 51talk tutorABC YepSam山姆英语 洛基英语 阿卡索 阅读全文
posted @ 2021-01-28 15:37 channy14 阅读(172) 评论(0) 推荐(0) 编辑

2020年6月4日

摘要: 转载,原文地址:https://www.cnblogs.com/landhu/p/5843282.html 一、COSBench安装 COSBench是Intel团队基于java开发,对云存储的测试工具,全称是Cloud object Storage Bench 吐槽下,貌似这套工具是intel上海 阅读全文
posted @ 2020-06-04 17:21 channy14 阅读(1060) 评论(0) 推荐(0) 编辑

2020年5月28日

摘要: install.sh #!/bin/sh if [ $# -ne 1 ]; then echo "########################################################" echo "# 用法:sh install_monitor.sh 邮箱地址; #" e 阅读全文
posted @ 2020-05-28 17:54 channy14 阅读(314) 评论(0) 推荐(0) 编辑

摘要: web自动化脚本: 层次分明:页面元素层、业务流层、控件层、用例层 //好处:数据驱动、脚本维护方便(如果只是页面的某个元素变化只需要修改元素层内容;如果只是业务逻辑有调整,只要修改业务层内容;如果要增加测试场景,只需在用例处新增输入及预期结果即可) 剥离出脚本统一在一个地方维护: 环境信息:ip、 阅读全文
posted @ 2020-05-28 10:05 channy14 阅读(803) 评论(0) 推荐(0) 编辑