原创 半自動化實現12306搶票

半自動化實現12306搶票 from selenium import webdriver # 處理下拉框元素 from selenium.webdriver.support.select import Select # 調用機器

原创 python3優化測試報告顯示,增加多種圖表和通過率

增加圖表顯示,針對python3 """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to sho

原创 對Excel的基本操作

Excel的基本操作 # 導入模塊 import xlsxwriter # 新建excel表 work = xlsxwriter.Workbook('new_excel.xlsx') # 新建sheet(sheet的名稱爲"she

原创 接口的壓力測試

接口的壓力測試 import json import requests import logging logging.basicConfig(level=logging.INFO, format='%(asctime)s -

原创 python+requests讀取Excel接口信息,來做接口測試,測試結果填寫到Excel表格中

原文鏈接:https://blog.csdn.net/qq_42846555/article/details/97761484 版權聲明:本文爲博主原創文章,遵循 CC 4.0 by-s

原创 monkey常見的命令

1.安裝成功後的驗證命令,查看monkey版本 adb version 2.查看連接設備命令 adb devices 3.列出手機裏面全部安裝的包的名稱 adb shell pm list packages 4.安裝軟件 ad

原创 python3優化測試報告顯示,餅圖和通過率

#coding=utf-8 """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the

原创 BSTestRunner文件

BSTestRunner文件 """ A TestRunner for use with the Python unit testing framework. It generates a HTML report to show th

原创 python+selenium 斷言的常用方法

斷言的常用方法 assertEqual(a,b,[msg=‘測試失敗時打印的信息’]): 斷言a和b是否相等,相等則測試用例通過。 assertNotEqual(a,b,[msg=‘測試失敗時打印的信息’]): 斷言a和b是否相等,不

原创 Python+Selenium:自動化測試報告的生成

TestRunner.py發送本地地址 import HTMLTestRunner import os import unittest import time import smtplib from email.mime.text i

原创 Mysql常用命令行大全

1、連接Mysql 格式: mysql -h主機地址 -u用戶名 -p用戶密碼 1、連接到本機上的MYSQL。 首先打開DOS窗口,然後進入目錄mysql\bin,再鍵入命令mysql -u root -p,回車後提示你輸密碼.注意用

原创 HTMLTestRunner文件

""" A TestRunner for use with the Python unit testing framework. It generates a HTML report to show the result at a g

原创 發送自動化測試報告到自己的郵箱

# 發送到郵箱 #郵箱服務器 smtpserver = 'smtp.163.com' #發送郵箱 sender = '[email protected]' #發送郵箱的賬號密碼 username = '[email protected]

原创 GIT 基礎操作命令

GIT 基礎操作命令 * 初始化新版本庫:git init * 全局設置:git config --global user.name "xzavier" git config --global user.email "xzavi

原创 linux常用命令手冊

系統信息 arch 顯示機器的處理器架構(1) uname -m 顯示機器的處理器架構(2) uname -r 顯示正在使用的內核版本 dmidecode -q 顯示硬件系統部件 - (SMBIOS / DMI) hdpar