`
文章列表
browser.getTitle() //获取文件标题 就是html中titile的文字    element(by.css('.className')) //以class名字获取 element(by.id('idName')) //以id名字获取 element(by.model('modelName')) //以Angular中ng-model绑定的名字获取 element(by.binding(‘bindingname')) //查找绑定了指定名的元素 element(by.repeater('article in articleList')) ...
Javascript自动测试框架比较   javascript自动测试框架 适    用 直接访问J S DOM A PI 远程控制 文件监视 文件预处理 测试代码编写语言 Karma       unit     〇       〇   〇     〇     〇   
Karma Before discussing what Karma is, it is best to discuss what it isn’t. It isn’t a framework to write tests. It is a test runner. What this means is that Karma gives you the ability to run tests in several different browsers in an automated way. In the past, developers had to perform manual ...
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 from the user endpoint where the whole system is a blackbox with only the UI exposed to the user. It c ...
mac 安装ps,出现Adobe Support Advisor 检测问题的解决以及破解   解决方法如下:         1:双击 Adobe.CS6.Photoshop.dmg         2:双击         3:右击 Install->显示包内容         4:双击进入Contents         5:双击进入MacOS         6:双击里面的Install进行安装
Mac 安装 MySQL 方法一 1、去mysql官网下载安装包,进行安装; 2、安装成功; 3、进入系统偏好设置 4、点击mysql 5、开启mysql服务 6、在terminal 输入:   mysql -uroot -p      7、此时系统会提示:   command not found     8、因为我们还没有配置系统变量,所以先要将mysql加入系统环境变量   (1)进入 /usr/local/mysql/bin ,查看此目录下是否有mysql (2)执行 vim ~/.bash_profile 该文件中添加 mys ...
Mac 下安装PyMySQL 1、terminal 输入: brew install mysql-connector-c 得出下列:     2、terminal 输入: sudo easy_install MySQL-python  输出    
   mac 下vscode配置python   command + shift + P 输入task     打开第一个配置文件tasks.json { "version": "0.1.0", "command": "python", "isShellCommand": true, "args": ["${file}"], "showOutput": ...
  webstorm 2016 mac破解版的下载、安装、破解            系统版本要求:OSX 10.9以上 webstorm 2016.2 Mac破解版下载地址  密码 jn2u webstorm 破解步骤:  打开dmg镜像,将“webstorm.app“拖入应用程序; 将"JetbrainsCrack.jar"复制到应用程序"webstorm.app" 的[显示包内容]->[contains]->[bin]中; 用文本编辑器 右键打开webstorm.app ->[显示包内容]-> ...
问题1 当用pycharm 编辑器安装django-bootstrap3 时:     $pip3 install django-bootstrap3   遇到以下错误:     Collecting django-bootstrap3==8.2.3 Using cached django-bootstrap3-8.2.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File &quo ...
Jasmine Jasmine is a JavaScript testing framework. It can be easily integrated and run for websites and is agnostic to AngularJS. It provides spies and other features. It can also be run on its own without Karma. Some of the pros and cons are as follows: Pros cons Default integration with ...
1、产品需要的技能 需求分析 产品设计 项目跟进 行业知识     前三个不用解释。最后一个指的是多少要对互联网圈内或者所从事的行业内的知识和信息有所了解,往常的工作不都是闭门造车。     针对每一个技能项,都分三个档次,然后增加说明。      比如,拿到了数据可以做出判断,这是段位比较低的。再靠谱一些的,应该自己有调研、访谈或者收集数据的能力,需求的分析更加合理。最厉害的,可以有成套的方法,系统地获取用户需求。      那么需求分析的技能项标准按三个档次分就是: 需求分析 1 能基于已有数据或者主观判断得出用户的情况,并判断用户的需求 2 ...
1、Protractor: Learn Testing Angular   
1)验证文本是否存在: command:verifyTextPresent   2)验证html tag是否存在(测试特定UI元素) command:veriftElementPresent //(检查链接、图片、分区等)   3)测试文本和UI元素,检查Xpath或DOM定位器检查特定文本是否出现在页面上的特定 ...
JavaScript中this的用法 this是Javascript语言的一个关键字。 它代表函数运行时,自动生成的一个内部对象,只能在函数内部使用。比如,   function test(){     this.x = 1;   } 随着函数使用场合的不同,this的值会发生变化。但是有一个总的原则,那就是this指的是,调用函数的那个对象。 下面分四种情况,详细讨论this的用法。 情况一:纯粹的函数调用 这是函数的最通常用法,属于全局性调用,因此this就代表全局对象Global。 请看下面这段代码,它的运行结果是1。   function test( ...
Global site tag (gtag.js) - Google Analytics