Skip to content
This repository was archived by the owner on Jan 18, 2019. It is now read-only.

punk1d/autopro-test-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

automation-pro-test-framework

========== Automated tests with Protractor 3.0.0 and Jasmine2

Resources needed

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    

Environment

Clone GitHub repository and install dependencies:

git clone https://github.com/benchmarkinternetgroup/automation-pro-test-framework.git
cd automation-pro-test-framework
npm install

Run the tests locally

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

Run tests via SauceLabs

By command line / WebStorm:

same steps as above just run the ./Protractor/Confs/confSauce.js

Global Variables

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

Using Elementor

Just click Here: Elementor ReadMe

About

Protractor tests for Automation Pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published