- node-js: cross-platform that executed javascript code
- protactor: end-to-end testing framework for angularJS apps (SPAs)
- jasmine: BDD framework
- Install NodeJs
- Install protactor
- install plugin for IDE
https://jasmine.github.io/2.0/introduction.html https://jasmine.github.io/pages/docs_home.html
script.js:test suite config.js: selenium address specs location
Execute:
protactor config.js
for reporting: * install: protactor-beautiful-reporter * add to the config.js file
https://www.npmjs.com/package/protractor-beautiful-reporter
https://github.com/angular/protractor/blob/master/docs/timeouts.md
https://github.com/angular/protractor/blob/master/docs/browser-setup.md
Need to configure the config.js file * chrome version 60 and above * fireofox version 55 and above
More info https://github.com/angular/protractor/blob/master/docs/browser-setup.md
https://www.youtube.com/watch?v=_JpjoenD5VA
https://www.youtube.com/watch?v=XgmUkCISabc Source: https://www.youtube.com/playlist?list=PL6flErFppaj0H-t1uXur_vX4zQnstKUyw