摘要:
1.环境准备 python3.6 requests xlrd 2.实现功能 封装requests请求方法 在excel维护测试数据 用unittest+ddt数据驱动模式执行 引入个性化测试报告 实现数据依赖,响应数据的提取,请求数据的更新 3.项目结构 4.文件路径配置 #!/usr/bin/en 阅读全文
摘要:
yum install python36-devel 阅读全文
摘要:
https://gitee.com/help/articles/4181#article-header0 阅读全文
摘要:
1.Jenkins下载 安装包下载地址:http://mirrors.jenkins-ci.org/war/latest/jenkins.warwget https://mirrors.tuna.tsinghua.edu.cn/jenkins/war/2.345/jenkins.war 2.配置环境 阅读全文
摘要:
一、使用wget指令: wget https://archive.apache.org/dist/tomcat/tomcat-8/v8.0.23/bin/apache-tomcat-8.0.23.tar.gz 二、解压tomcat压缩包 tar -zxvf apache-tomcat-8.0.23. 阅读全文
摘要:
一、安装环境 JDK版本:1.8 工具:Xshell5、Xftp5 下载地址: 链接:https://pan.baidu.com/s/1riPXk_uheG7OLkXsqdJhpA 提取码:0348 1.将下载好的JDK安装包上传到服务器,进行解压 在/usr目录下创建java文件夹.将下载好的安装 阅读全文
摘要:
Name是虚拟环境的名字,Location是保存的位置,Base interpreter是源Python解释器的位置,Inherit global site-packages:是否要继承源解释器环境中安装的第三方包(pip install xxx 的包)。 建议把 Inherit global si 阅读全文
摘要:
1.连接手机(测试机 ) 通过USB线连接Android手机和电脑,打开手机的开发者模式,开启USB调试模式(方法自行百度)。 命令窗口输入adb devices显示手机udid则链接成功 输入adb devices后如果List of devices attached下为空,说明手机连接电脑没有成 阅读全文
摘要:
打印出1到100 1 i=0 2 while i<=100: 3 print(i) 4 i+=1 1 for i in range(1,101):#迭代1到101之间的数字,[1,101) 2 print(i) 1 i=0 2 while True: 3 i+=1 4 print(i) 5 if i 阅读全文