Submitted by harrydev on Sat, 10/25/2014 - 14:56
Let us now create a very basic test and execute using protractor. As we know protractor needs to files spec file (test file) and conf file (configuration file).
'describe' is block of code that implements the suite and 'it'is a block with combination of commands and expectations syntax is from the Jasmine framework.
Submitted by harrydev on Sat, 10/25/2014 - 14:46
To set up protractor, we need to install below three things
3. Selenium Webdriver
Step 1: First we have to install NodeJS. Please click here to download node.js
What is Node.js ???
Node.js is an open source, cross-platform runtime environment for server-side and networking applications. Click here for details on Node.JS
Submitted by harrydev on Sat, 10/25/2014 - 14:37
Protractor is a Node.js (Node.js is an open source, cross-platform runtime environment for server-side and networking applications) program that supports the Jasmine, Mocha, and Cucumber test frameworks.
Protractor is an open source functional automation framework (also known as End to End testing framework) especially designed to verify the health of AngularJS web applications. Protractor uses Selenium WebDriver to drive browsers and simulate user’s interaction with an AngularJs application running in a browser.