摘要:
目录: 一、安装allure 二、生成allure报告 三、结合jenkins来集成pytest+allure 四、结合Git集成Jenkins+Pytest+Allure测试报告 五、附录 一、安装allure # 安装allure brew install allure 安装完之后,查看是否成功 阅读全文
摘要:
目录: 一、下载安装sqlmap 二、SQL注入 三、参考文章 一、下载安装sqlmap 1、官网地址:http://sqlmap.org/#download git下载: git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git 阅读全文
摘要:
一、ID定位 uiautomatorviewer里面的:resource-id driver.find_element(By.ID,"com.csks.businesses:id/tv_number").click() 二、利用index角标定位 # 利用index角标定位 # 获取多个输入框 in 阅读全文
摘要:
项目遇到金额小数点保留位数,极个别的数会差一分,经调查是因为js的问题。 解决办法: # 方法一:保留两位小数 function keepTwoDecimal(num) { var result = parseFloat(num); if (isNaN(result)) { alert('传递参数错 阅读全文
摘要:
1、第一步,安装Python环境 《【Mac + Python】苹果系统之安装Python3.6.x环境》 2、安装PyCharm并激活 《【转载】【Pycharm编辑器破解步骤】之idea和Pycharm 等系列产品激活激活方法和激活码(附:Mac系统)》 3、配置PyCharm并安装Seleni 阅读全文
摘要:
备份文件: # CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors tha 阅读全文
摘要:
上一篇安装完centos虚拟机之后,如何远程连接呢? 先进入虚拟机的界面: 发现没有bash 终端输入: # -bash :telnet:command not found # 发现是虚拟机没有安装 # 终端输入 yum -y install net-tools 安装完成! 检测一下可不可以联网: 阅读全文
摘要:
参考文章:《Mac 安装VMware Fusion虚拟机》 一、安装VMware Fusion 首先下载Mac版VMware虚拟机: 链接:https://pan.baidu.com/s/1p4nt-FrZAz1cZrhY_9lM8w 密码:xvlo 安装完软件之后,需要激活: 激活码工具: 注册成 阅读全文
摘要:
好久没生成报告了,最近使用的时候报了一个错误!用的这个报告模板BSTestRunner但是汇报下面的错误: NameError: name 'unicode' is not defined 经查询得知:《python3.6 :NameError: name 'unicode' is not defi 阅读全文
摘要:
FileZilla下载地址:http://www.pc6.com/mac/111230.html 连接FTP服务器: 下载完成之后需要修改字符集编码: ①先添加站点 ②填写:gb2312字符集 阅读全文