自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

默金

python+uiautomator2&selenium&requests%appium,web\app\api

  • 博客(7)
  • 资源 (2)
  • 收藏
  • 关注

原创 unittest单元测试Demo

import unittestimport HTMLTestRunner #python3import timeimport sysimport osclass Test(unittest.TestCase): def setUp(self): print("----------SetUp -----\n") def tearDown(self)...

2019-09-29 10:37:55 338

原创 几十份接口测试用例一起自动化测试的接口测试框架

python+unittest+requests+Excle+HTMLTestRunner+ddt数据驱动实现接口自动化测试:1.执行文件夹下所有的Excel表格,现在测试数有10份,共计180条2.对表格中的接口测试用例测试,添加到测试Html报告中显示3.测试结果填写到Excel测试用例10份108条测试log测试报告能看到这儿的都是老铁,给你地址自己去拿:https://github.com/SilenceGold-MJ/API.git...

2019-09-27 22:47:40 3450 16

原创 python3+uiautomator2多设备使用执行(多线程,不能并行设备执行)

多设备使用多线程执行,不能并行,只能一个设备执行完成后面,执行另一个设备import sysimport uiautomator2 as u2from time import sleepimport osimport subprocessimport threadingimport timedef MultiDevice( d): # 功能执行 d.screen_...

2019-09-10 09:21:10 3891 1

原创 python3+uiautomator2多设备执行测试用例(多进程,同时执行)

多设备执行测试用例(多进程,同时执行)import multiprocessing as npimport uiautomator2 as u2import subprocessimport timedef getphonelist(): # 获取手机设备 cmd = r'adb devices' # % apk_file pr = subprocess.Pope...

2019-09-09 17:09:18 4799 5

原创 python获取apk使用内存和CPU使用率脚本

获取apk使用内存和CPU使用率脚本import subprocessimport reimport loggingimport timeimport oslogger = logging.getLogger("main")logger.setLevel(logging.DEBUG)# logger的setLevel是最根本的fh = logging.FileHandler(ti...

2019-09-04 14:06:57 1482 3

原创 获取apk运行占手机RAM大小

获取apk运行占手机RAM大小import subprocessimport redef getmem(package): cmd = r'adb shell dumpsys meminfo '+package+' | findstr "TOTAL"' # % apk_file pr = subprocess.Popen(cmd, stdout=subprocess.PI...

2019-09-02 15:53:20 480

原创 python3+uiautomator2多设备执行测试用例(遍历设备,非同时执行)

获取手机列表,每个手机执行一遍测试用例 def getphonelist(): cmd = r'adb devices' # % apk_file pr = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True) pr.wait() # 不会马上返回输出的命令,需要等待 out = pr.stdout...

2019-09-02 11:59:55 1471

Jenkins部署配置自动化测试项目

1. 下载Jenkins 2 2. Jenkins部署 2 3. Jenkins安装初始化 6 4. 配置编译环境 11 5. 配置发送邮箱 14 6. 打包服务代码为jar或war包(maven打包) 18 7. 执行自动化测试代码 23 8. 切换运行环境 30

2022-12-14

appium最新版本Appium-windows-1.17.1-1-appium-desktop-Setup-1.2.6

appium最新版本Appium-windows-1.17.1-1-appium-desktop-Setup-1.2.6

2022-03-16

allure-commandline-2.15.0.zip

Allure Test Report There are lots of cool testing frameworks for different programming languages. Unfortunately only a few of them can provide good representation of test execution output. The Qameta Software testing team is working on Allure - an open-source framework designed to create test execution reports that are clear to everyone in the team.

2021-09-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除