上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
  2019年12月2日
摘要: import unittestimport osimport timeimport HTMLTestRunner# 用例路径case_path = os.path.join(os.getcwd())# 报告存放路径report_path = os.path.join(os.getcwd(), 're 阅读全文
posted @ 2019-12-02 15:15 wenjingtester 阅读(1534) 评论(0) 推荐(0) 编辑
  2019年11月29日
摘要: https://github.com/SeldomQA/HTMLTestRunner 阅读全文
posted @ 2019-11-29 18:09 wenjingtester 阅读(653) 评论(0) 推荐(0) 编辑
摘要: import unittest # discover可以一次调用多个脚本# test_dir 被测试脚本的路径# pattern 脚本名称匹配规则test_dir = "./test_case"discover = unittest.defaultTestLoader.discover(test_d 阅读全文
posted @ 2019-11-29 16:48 wenjingtester 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 无法运行时候: selenium使用Chrome时报错: selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH. Please see https:/ 阅读全文
posted @ 2019-11-29 13:55 wenjingtester 阅读(580) 评论(0) 推荐(0) 编辑
  2019年11月28日
摘要: 第一步:当然是下载最新的chrome浏览器版本 https://www.google.cn/chrome/ 第二步:下载最新的ChromeDriver(是个.exe文件)::::http://npm.taobao.org/mirrors/chromedriver/ 两个链接都可以 ::: http: 阅读全文
posted @ 2019-11-28 19:17 wenjingtester 阅读(345) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/huilan_same/article/details/51896672 http://chromedriver.storage.googleapis.com/index.html chromedriver版本 支持的Chrome版本v2.46 v71-7 阅读全文
posted @ 2019-11-28 19:06 wenjingtester 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 网站:http://c.biancheng.net/view/4552.html http://www.opython.com/198.html 阅读全文
posted @ 2019-11-28 16:33 wenjingtester 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 一、python中类和对象的概念 首先,我们先来说说什么是类。看了很多关于python类的介绍,大多都介绍如何使用,但是对于概念却一笔带过,一个初学编程的小伙伴很难理解。 概括的说:类可以比作是某种类型集合的描述。然而这中抽象的描述,对于初学者来说并没有什么卵用。 今天就来详细的说说: 我们把一类相 阅读全文
posted @ 2019-11-28 14:58 wenjingtester 阅读(2753) 评论(0) 推荐(0) 编辑
摘要: (1).cookies和session的存储和区别? 1.cookie存储在客户端,用户可见,但可伪造不安全。session在服务端。 2.session可以存放在文章中,数据库中等。但存放在文件中要维护session的过期时间,存在redis中它有一个过期时间设置机制,可以自己维护过期时间。 链接 阅读全文
posted @ 2019-11-28 09:57 wenjingtester 阅读(122) 评论(0) 推荐(0) 编辑
  2019年11月20日
摘要: 如下为mysql 慢查询查看方案 -- 1)select db, query_TIME, lock_time, rows_examined, sql_text from mysql.slow_log 2)查看执行计划: 根据SQL_text字段执行 Explain sql_test ; 如果 pos 阅读全文
posted @ 2019-11-20 10:44 wenjingtester 阅读(151) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页