自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (12)
  • 收藏
  • 关注

原创 google chrome webdrive 列表

http://chromedriver.storage.googleapis.com/index.html

2016-05-03 15:00:47 1956

原创 loadrunner 学习

一、性能测试基本流程 1、性能测试需求分析 2、性能测试计划(用户多少、时间测试多久) 3、性能测试准备开发脚步/执行测试-> 测试结果分析->系统调优->编写测试报告二、web性能测试常用指标 1、响应时间(Response time) 用户感受软件系统为其服务所耗费的时间 相应时间:2-5-8原则 2-5s:可以 5-8s:可以接受 8s+:不行了2、吞吐量(Throughpu

2016-05-03 14:59:13 356

原创 selenium 获取值的方法

新建实例driver = webdriver.Chrome() 1.获取当前页面的Url函数 方法:current_url 实例: driver.current_url 2.获取元素坐标 方法:location 解释:首先查找到你要获取元素的,然后调用location方法 实例: driver.find_element_by_xpath(“//*[@id=’tablechart’]

2016-05-03 14:57:57 4413

原创 webdriver 执行js

send_start_day = self.driver.find_element(*AutoorderLocators.Send_Start_Day_Input) self.driver.execute_script(“$(arguments[0]).removeAttr(arguments[1])”, send_start_day, “readonly”)

2016-05-03 09:49:12 332

原创 厕所

coding=utf-8import unittest import sys sys.path.append(r’./ars’) from common import HTMLTestRunner import os,timefrom apscheduler.scheduler import Schedulerfrom common import mailutilfrom conf impo

2016-04-26 14:58:15 518

原创 oracle

import cx_Oracle as orcl from conf import configdef query(sql, username, passwd, host, port, sid): ”’ :param username: 用户名 :param passwd: 密码 :param host: 地址 :param port: 端口

2016-04-26 14:51:52 312

原创 mail

!/bin/env pythoncoding=utf-8import email import mimetypes from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from email.MIMEImage import MIMEImage from email.MIMEAud

2016-04-26 14:49:46 1313

原创 logunit

-- coding: utf-8 --import logging from conf import config import time import osdef initLog(logfile):if os.path.exists(config.logpath) != True: os.makedirs(config.logpath)logfile = config.logpat

2016-04-26 14:49:07 357

原创 excellibrary

!/usr/bin/env pythonCopyright 2013-2014 NaviNet Inc.#Licensed under the Apache License, Version 2.0 (the “License”);you may not use this file except in compliance with the License.You may obtain a copy

2016-04-26 14:48:11 1879

原创 上传文件

upload_button = self.driver.find_element(*ImportLocators.Import_Order_Button) upload_button.click() upload_window = win32gui.GetForegroundWindow() win32gui.SetForegroundWindo

2016-04-26 14:44:32 238

原创 unittest参数化

# -*- coding: utf-8 -*-import unittestclass ParametrizedTestCase(unittest.TestCase): """ TestCase classes that want to be parametrized should inherit from this class. """ def __ini

2016-03-31 17:00:39 1274 1

原创 Python excel转xml

#! encoding=utf-8import xlrdimport xml.dom.minidomimport osdef open_excel(file): try: data = xlrd.open_workbook(file) return data except Exception, e: print str(e)de

2016-03-31 16:48:37 3326 1

原创 Python 测试webservice

#! encoding=utf-8# auth : leikai# 2016-03-30 v1.0from suds.client import Clientfrom ParametrizedTestCase import ParametrizedTestCaseimport HTMLTestRunnerimport unittestimport sysreload(sys)sys

2016-03-31 16:41:08 1548

原创 Python 操作MySQL数据库

#encoding=utf-8import os, sys, string, randomimport MySQLdbreload(sys)sys.setdefaultencoding('utf-8')# 连接数据库 class Mysql: conn = '' cursor = '' def __init__(self, host='127.0.0.1', usr

2016-03-31 16:33:47 299

原创 Python 读取excel

#! encoding=utf-8import xlrd,xlwtimport xml.dom.minidomimport os,sysclass OpExcel(): table = '' tabledata = [] def __init__(self,path,sheet): try: data = xlrd.open_wo

2016-03-31 16:32:34 459

原创 python webdriver 简单框架

以百度搜索为例 一、首先写百度的元素定位类,后期可以用excel表代替,命名为locators.py# -*- coding: utf-8 -*-from selenium.webdriver.common.by import Byclass BaiduLocator(object): Search_Input = (By.ID,"kw") Search_Submit_Butt

2016-03-31 15:36:15 2107

安卓apk反编译工具 回编工具

apk反编译工具,支持回编 des转jar jar转des 反编译des 查看jar等功能 可以查看jar包,jar包转des,des转jar

2019-12-06

捡瓶子按键精灵脚本,雷电模拟器3.58版本,分辨率480*800 160dpi

捡瓶子按键精灵脚本,雷电模拟器,分辨率800*600 160dpi

2019-06-25

地址联动,多级联动,cookie写入,纯js实现,2015最新地址库

下拉地址联动,支持cookie写入,纯js实现,2015年最新数据库。

2015-04-08

linux 系统cpu、内存、IO等监控脚本

linux系统cpu、内存、IO等监控脚本 可以用作定时任务执行监控

2015-01-05

HuaweiUpdateExtractor

华为手机解包、p6、3c、HuaweiUpdateExtractor 华为手机解包、p6、3c、HuaweiUpdateExtractor

2014-09-24

liyan365)com-PowerShot ELPH 330 HS 相机使用者指南

PowerShot ELPH 330 HS_IXUS 255 HS相机使用者指南,佳能 HS_IXUS 255 HS相机使用者指南,Canon HS_IXUS 255 HS 相机使用者指南

2013-06-17

小米1刷机软件,mi1刷机软件

小米刷机软件,小米1刷机软件,MiFlash20111223

2013-06-03

瑞友天翼win7客户端

瑞友天翼远程客户端,win7,GWT4Plus_client_for Win7客户端

2013-06-03

seo资料学习

推广经验,值得大家学习,seo优化,seo学习资料分享

2013-05-15

看看采集助手最新破解版,测试可用

2013看看采集助手最新破解版,测试可用

2013-02-18

空空如也

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

TA关注的人

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