摘要:
configparser模块支持读取.conf和.ini等类型的文件,那么首先在文件夹新建一个.ini文件,写入一些信息 # coding=utf-8import configparserimport os os.chdir("E:\\Automation\\UI\\testcase")cf = c
阅读全文
posted @ 2021-01-05 00:15
多测师_肖sir
阅读(153)
推荐(0)
摘要:
1、关闭tomcat:./shutdown.sh 2、删除/webapps/jenkins下所有文件:rm -rf jenkins 3、删除配置文件:rm -rf /root/.jenkins/
阅读全文
posted @ 2021-01-04 09:19
多测师_肖sir
阅读(123)
推荐(0)
posted @ 2021-01-03 19:51
多测师_肖sir
阅读(131)
推荐(0)
摘要:
Jenkins操作手册 一、jenkins介绍 1、持续集成(CI) Continuous integration 持续集成 团队开发成员每天都有集成他们的工作,通过每个成员每天至少集成一次,也就意味着一天有可 能多次集成。在工作中我们引入持续集成,通过持续集成自动构建(代码的编译、发布、部署、 用
阅读全文
posted @ 2021-01-03 10:57
多测师_肖sir
阅读(265)
推荐(0)
摘要:
app性能测试 xcode弱网测试 兼容性测试, gt性能
阅读全文
posted @ 2020-12-31 15:21
多测师_肖sir
阅读(103)
推荐(0)
摘要:
将滑屏操作的动作封装起来,可以使用反复调用,你想用的时候调用就可以了,很方便。 #屏幕向上滑动, x轴不变,y轴向上移动 #屏幕向上滑动, x轴不变,y轴向上移动 def swipeUp(dr,n,t=2000): L=dr.get_window_size() x1=L['width'] * 0.5
阅读全文
posted @ 2020-12-30 23:35
多测师_肖sir
阅读(357)
推荐(0)
摘要:
uiautomatorviewer截图:滚动框为一个整体,无法定位到商品类型中的每一个元素,所以使用id,name无效
阅读全文
posted @ 2020-12-30 23:21
多测师_肖sir
阅读(144)
推荐(0)
摘要:
app屏幕滑动定位(swipe方法)swipe语法:Swipe(int start x,int start y,int end x,int y,time)#参数的个数根据实际情况使用解释:int start x-开始滑动的x坐标, int start y -开始滑动的y坐标。 int end x -
阅读全文
posted @ 2020-12-30 20:27
多测师_肖sir
阅读(384)
推荐(0)
posted @ 2020-12-30 19:45
多测师_肖sir
阅读(35)
推荐(0)
摘要:
from appium import webdriver #导入appium库from time import sleepcps={ #匹配模拟器和App "platformName":"Android", "deviceName":"127.0.0.1:62001", "platformVersi
阅读全文
posted @ 2020-12-30 16:43
多测师_肖sir
阅读(240)
推荐(0)