Locators in Protractor
Hello everyone... As we all interact with test automation with protractor framework, I think it's much important to get an idea about different types of Locators used when writing e2e tests. What is Protractor? Protractor is an end-to-end test framework for Angular and Angular JS applications and works as a solution integrator combining powerful tools and technologies such as NodeJS, Selenium WebDriver, Jasmine, Cucumber and Mocha. It was initially developed by Google Developers to support angular applications and later it is released as an open-source framework. Now protractor supports both angular and Non-Angular applications. Why should we use Protractor? Easy installation and setup Easily readable jasmine framework. Support Data-Driven test Include all advantages of Selenium WebDriver. Auto-Synchronization. Support parallel testing through multiple browsers. Excellent speed. To write end to end tests in Protractor, we use Locat