| 1. |
What is Protractor? |
|
Answer» Protractor is an open-source automated testing framework that ALLOWS you to perform end-to-end testing of your WEB applications. It’s built on top of WebDriverJS. Protractor is developed by GOOGLE and is especially used for testing Angular applications. Protractor runs the tests against the web application by running it in REAL web browsers. It also interacts with the application like an end-user would, e.g. clicking buttons, links, filling forms, etc., and verifying the result with the expected outcome. Since Protractor is based on the Selenium WebDriver, it’s easy to perform cross-browser testing. It provides a simple API compared to Selenium, so the learning curve is not too steep. Developers can quickly get familiar with it and start writing the end-to-end UI tests. You can also take snapshots and compare them USING Protractor. It also allows you to run parallel test cases on different machines. |
|