
自动化测试
TheSunTree
为理想而奋斗
展开
-
Automated e2e testing- WebDriverJS, Jasmine and Protractor
e2e or end-to-end or UI testing is a methodology used to test whether the flow of an application is performing as designed from start to finish. In simple words, it is testing of your application fr...原创 2016-05-25 13:58:10 · 199 阅读 · 0 评论 -
protractor 自动化测试书房
1、Protractor: Learn Testing Angular原创 2017-03-09 17:00:37 · 271 阅读 · 0 评论 -
Protractor locator
browser.getTitle()//获取文件标题 就是html中titile的文字 element(by.css('.className'))//以class名字获取element(by.id('idName'))//以id名字获取element(by.model('modelName'))//以Angular中ng-model绑定的名字获取...原创 2017-03-07 16:51:02 · 212 阅读 · 0 评论 -
PyMySQL 安装
Mac 下安装PyMySQL1、terminal 输入:brew install mysql-connector-c 得出下列: 2、terminal 输入:sudo easy_install MySQL-python 输出原创 2017-05-11 18:28:57 · 280 阅读 · 0 评论 -
python and VScode
mac 下vscode配置python command + shift + P 输入task 打开第一个配置文件tasks.json { "version": "0.1.0", "command": "python", "isShellCommand": true, "args": ["原创 2017-05-11 11:48:15 · 329 阅读 · 0 评论 -
django 学习问题解答
问题1当用pycharm 编辑器安装django-bootstrap3 时: $pip3 install django-bootstrap3 遇到以下错误: Collecting django-bootstrap3==8.2.3 Using cached django-bootstrap3-8.2.3.tar.gz Complete o...原创 2017-05-10 20:04:29 · 165 阅读 · 0 评论 -
selenium 笔记1
1)验证文本是否存在:command:verifyTextPresent 2)验证html tag是否存在(测试特定UI元素)command:veriftElementPresent //(检查链接、图片、分区等) 3)测试文本和UI元素,检查Xpath或DOM定位器检查特定文本是否出现在页面上的特定位置command:verifytext 4)identi...原创 2016-07-26 14:10:49 · 143 阅读 · 0 评论 -
自动化测试
Javascript自动测试框架比较 javascript自动测试框架适 用直接访问J SDOM A PI远程控制文件监视文件预处理测试代码编写语言Karma unit 〇 〇 〇 〇 〇 任意JsTestDriverunit 〇 ...原创 2016-06-21 16:37:11 · 134 阅读 · 0 评论 -
Karma VS protractor
KarmaBefore discussing what Karma is, it is best to discuss what it isn’t. It isn’t a framework towrite tests. It is a test runner. What this means is that Karma gives you the ability to runtes...原创 2016-05-25 16:00:17 · 181 阅读 · 0 评论 -
JavaScript testing frameworks
JasmineJasmine is a JavaScript testing framework. It can be easily integrated and run for websitesand is agnostic to AngularJS. It provides spies and other features. It can also be run on itso...原创 2017-03-09 17:07:14 · 199 阅读 · 0 评论