An End-to-End testing for AngularJS application using Protractor and Jasmine.
You need to clone the project either by downloading zip file or copy the link https://github.com/Rahuljsr/AngularJS-Application-Testing.git adn test the application.
- Install Java/JDK
- Install Node.js
- Install NPM
- Install IDE( I have used Notepad++).
- Install Java/JDK from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html depending upon your platorm(Windows/Mac/Linux).
- Install Node.js from https://nodejs.org/en/download/ depending upon your platorm(Windows/Mac/Linux). NPM package will also be downloaded.
- Install Protractor using "npm install -g protractor" command.
- Install Http-server npm using "npm install -g http-server".
Configure environment variable to access protractor globally.
Comamnds to start the server:
- webdriver-manager start : To start the SeleniumServer
- http-server : To start npm-http-server ( Navigate to project folder in command prompt and start the http-server)
Open command prompt to run the test and navigate to the project folder files.
protractor conf.js : To run the test file