上一页 1 ··· 9 10 11 12 13 14 下一页
摘要: 1. 连接 # coding=utf-8from appium import webdriverfrom selenium.webdriver.support.ui import WebDriverWaitfrom selenium.common.exceptions import NoSuchEl 阅读全文
posted @ 2018-11-18 13:00 东方不败--Never 阅读(247) 评论(0) 推荐(0)
摘要: pip install baidu-aip# from aip import AipSpeech# """ 你的 APPID AK SK """# APP_ID = '1470334'# API_KEY = 'Mjs4QCgqoQYG84d5zEc2EUsj'# SECRET_KEY = 'wE5r 阅读全文
posted @ 2018-11-07 00:22 东方不败--Never 阅读(280) 评论(0) 推荐(0)
摘要: 请求设置:requests.get/post ( url, data={}, params={}, headers={}, timeout=0.01, files={} Session() verity=False 关闭ssl验证 ) 响应获取:response .status_code url c 阅读全文
posted @ 2018-10-20 22:07 东方不败--Never 阅读(242) 评论(0) 推荐(0)
摘要: postman.setNextRequest("my next") 阅读全文
posted @ 2018-10-19 22:42 东方不败--Never 阅读(109) 评论(0) 推荐(0)
摘要: 1.状态码为200 2.预言与结果一致 3.响应时间小于5秒 pm.test("Status code is 200", function () { pm.response.to.have.status(200);}); var user=pm.variables.get("user"); pm.t 阅读全文
posted @ 2018-10-19 21:56 东方不败--Never 阅读(171) 评论(0) 推荐(0)
摘要: 环境变量:方便测试环境与生产环境之间的切换 全局变量:方便重复调用 第一种:脚本 pm.globals.set("variable_key", "variable_value"); 第二种:图形界面 案例: 描述: 第一个api返回来的结果作为第二个api的参数,并将第二个api的参数作为全局变量 阅读全文
posted @ 2018-10-19 21:31 东方不败--Never 阅读(511) 评论(0) 推荐(0)
摘要: 1.提示1080端口被占用: Cmd——Netstat -ano——找到端口号为1080的pid——打开任务管理器——干掉pid 2.inter error:your request was unsuccessful Cannot create cgi process--program not fo 阅读全文
posted @ 2018-08-19 23:43 东方不败--Never 阅读(1176) 评论(0) 推荐(0)
摘要: get请求 post请求 阅读全文
posted @ 2018-08-19 20:43 东方不败--Never 阅读(138) 评论(0) 推荐(0)
摘要: 环境:Python 3.5.3 pip install pyautogui -i http://pypi.douban.com/simple --trusted-host pypi.douban.com PyAutoGUI键盘表: keyDown():按下某个键 keyUp():松开某个键 pres 阅读全文
posted @ 2018-08-12 19:42 东方不败--Never 阅读(853) 评论(0) 推荐(0)
摘要: 过滤目标地址: 抓取https的设置: 阅读全文
posted @ 2018-08-02 20:54 东方不败--Never 阅读(147) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 下一页