- 博客(5)
- 资源 (5)
- 收藏
- 关注
原创 关于nose的简单用法(二)
1.支持多个测试文件执行nosetests [options] [(optional) test filesor directories]nosetests 文件夹名(直接查找该文件夹里面以test开头的文件运行)2.带ID输出 nosetests test_a.py -v --with-id带id结果输出:#1 test_a.test ... ok#2
2017-04-19 17:00:08 2727
原创 Page Object Model (Selenium + Python)(三)
基于对前边几篇文章的参考,自己根据系统需求写了一个pageobject的框架。主要树形结构如下图: 以下是个别代码块:1.base page模块该parent页面主要每个页面都可能用到的方法,以便后面页面的继承(有的方法没写完整,用的时候可以自行添加)# _*_ coding=utf-8 _*_from abc ...
2017-04-19 14:41:36 6295 1
转载 Page Object Model (Selenium + Python)(二)
Why this post?Tutorials on the page object model usually show you how to implement the page object model using a cliched login page as an example. Most online tutorials rarely show you how to modi
2017-04-19 11:40:03 1298
原创 Page Object Model (Selenium, Python)(一)
Overview of Page Object ModelA page object represents an area in the web application user interface that your test is interacting with. Page objects reduces the amount of duplicated code and if th
2017-04-19 11:22:02 2505
原创 git 学习的简单笔记
1.初始化一个Git仓库,使用git init命令。2.添加文件到Git仓库,分两步: 第一步,使用命令git add ,注意,可反复多次使用,添加多个文件; 第二步,使用命令git commit,完成。3.要随时掌握工作区的状态,使用git status命令。 如果git status告诉你有文件被修改过,用git diff可以查
2017-04-19 09:57:28 375
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人