askeledz / protractorjs-uitest

Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.

Home Page:https://www.protractortest.org/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Protractor - E2E testing for Angular

setup

- Use npm to install Protractor globally with:

   npm install -g protractor

- This will install two command line tools, protractor and webdriver-manager. Try 
  running 
  
  protractor --version

- The webdriver-manager is a helper tool to easily get an instance of a Selenium 
  Server running. Use it to download the necessary binaries with:

  webdriver-manager update

- Now start up a server with:

  webdriver-manager start

- This will start up a Selenium Server and will output a bunch of info logs. Your 
  Protractor test will send requests to this server to control a local browser. 
  You can see information about the status of the server at http://localhost:4444/wd/hub.

Run the test

- Now run the test with:

  protractor demo/conf.js

About

Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.

https://www.protractortest.org/#/