========== Automated tests with Protractor 3.0.0 and Jasmine2
Recommended install WebStorm
Install NodeJS (version => 4.2)
Install Protractor+elementor:
sudo npm install protractor@3.0.0 -g
sudo npm install elementor -g
sudo webdriver-manager update
Clone GitHub repository and install dependencies:
git clone https://github.com/benchmarkinternetgroup/automation-pro-test-framework.git
cd automation-pro-test-framework
npm install
By command line:
protractor ./Protractor/Confs/conf.js
Via WebStorm IDE:
Menu->Run->Edit Configurations
Add New Configuration
Name: Protractor
JavaScript file: /usr/local/lib/node_modules/protractor/lib/cli.js
Application parameters: ./Protractor/Confs/conf.js
Ok
Menu->Run->Run Protractor
By command line / WebStorm:
same steps as above just run the ./Protractor/Confs/confSauce.js
Variables that may be pass when running test:
ex. protractor ./Protractor/Confs/conf.js --params.login.user 'ngrocks'
--params.Login.user
--params.Login.password
--params.Server.server
Just click Here: Elementor ReadMe