上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
(1)定位元素元素的操作分以下几种 ①定位元素是按钮,比如“查询”、“下一步”、“百度一下”等,这类元素一般搭配click() ②定位元素是输入框,比如“输入查询的内容”、“输入密码”、“输入用户名”等,这类元素一般搭配send_keys() ③定位元素是文本信息,比如“密码错误”、“用户不存在”、 Read More
posted @ 2020-12-26 14:59 sriver_dl Views(133) Comments(0) Diggs(0)
1、下载插件 com.cb.eclipse.folding_1.0.6.jar 下载地址:http://files.cnblogs.com/haiq/代码折叠插件_com.cb.eclipse.folding_1.0.6.rar 2、把下载的com.cb.eclipse.folding_1.0.6. Read More
posted @ 2020-12-26 09:02 sriver_dl Views(755) Comments(0) Diggs(0)
posted @ 2020-12-26 08:33 sriver_dl Views(170) Comments(0) Diggs(0)
首先有一点大家自己要知道,一个简单的东西非得说来别人听不懂,来显得自己的高大上,不管哪个行业多是如此。只要自己搞懂了,自己也变成了那部分人。 什么叫做数据驱动? 答:所谓数据驱动就是同一段代码,参数一样,但是函数内部做了处理,所以输入不同的数据(值),得到不同的结果。比如果输入一个名字,你输入张三得 Read More
posted @ 2020-12-24 14:47 sriver_dl Views(1560) Comments(0) Diggs(0)
#coding:utf-8 import os import xlrd from common.path import dataPath from common.setlog import log class ReadExcel(object): def __init__(self,fileName Read More
posted @ 2020-12-23 23:44 sriver_dl Views(253) Comments(0) Diggs(0)
import unittest from ddt import ddt,data,unpack from src.utils.ReadExcel import ReadExcel @ddt class Testddt2(unittest.TestCase): def setUp(self): pas Read More
posted @ 2020-12-23 17:14 sriver_dl Views(247) Comments(0) Diggs(0)
返回值的操作。 text:获取接口返回值的文本格式 json():获取接口返回值的json()格式 status_code:返回状态码(成功为:200) headers:返回完整的请求头信息(headers['name']:返回指定的headers内容) encoding:返回字符编码格式 url: Read More
posted @ 2020-12-23 14:26 sriver_dl Views(748) Comments(0) Diggs(0)
requests提供的get方法,有几个常用的参数: url:显而易见,就是接口的地址url啦 headers:定制请求头(headers),例如:content-type = application/x-www-form-urlencoded params:用于传递测试接口所要用的参数,这里我们用 Read More
posted @ 2020-12-23 14:15 sriver_dl Views(2482) Comments(0) Diggs(0)
常用组件简要介绍jp@gc - Bytes Throughput Over Time:不同时间吞吐量展示(图表)聚合报告里,Throughput是按请求个数来展示的,比如说1.9/sec,就是每s发送1.9个请求;而这里的展示是按字节Bytes来展示的图表jp@gc - Composite Grap Read More
posted @ 2020-12-23 10:01 sriver_dl Views(226) Comments(0) Diggs(0)
①蓝色代表CPU(x100):对于CPU纵坐标代表使用率的百分比,只是这个百分比是放大了100倍的,从图中来看,我CPU的使用率平均为45%的样子 ②粉红色代表磁盘的读写速度(x10000):单位Mb/s,那上面的纵坐标就不是百分比了,而是读写速度了,这个读写速度放大了10000倍而已 ③红色代表内 Read More
posted @ 2020-12-22 23:44 sriver_dl Views(1320) Comments(0) Diggs(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页