Protractor interview questions

  1. List major difference between Protractor vs Selenium?
  2. What is Protractor?
  3. List Behavior-driven development (BDD) test frameworks supported By Protractor?
  4. What is SPA Application?
  5. Enlist few features of Protractor?
  6. How to use Cucumber with Protractor?
  7. What is difference between WebDriver click() and JavaScript click()?
  8. How to select an option from dropdown in Protractor e2e testing?
  9. How to set default browser window size in Protractor/WebdriverJS?
  10. How to getText on an input in protractor?
  11. How to test if an element has class or not in Protractor?
  12. How to create and manipulate promises in Protractor?
  13. How can I use command line arguments in Angularjs Protractor?
  14. How can I get the current url using protractor?
Protractor interview questions
Download Protractor interview questions PDF

Protractor is an end to end testing framework for AngularJs Applications. It is built on top of WebDriverJs protocol which internally uses native events and browser-specific drivers to interact with our application. 

Protractor support Jasmine and Mocha BDD test frameworks.

A SPA application is a web app load a single HTML page and dynamically update that page as the user interacts with the app.SPA using ajax and HTML5 to create fluid and responsive Web apps, without constant page reloads.

  • It uses the simple syntax for writing test cases.
  • Have angular-specific locators like ng-model, ng-bind, etc.
  • Supports behavior-driven development tools like Jasmine/Mocha 
  • Easily integrated with Jenkins/Browser, Stack/Grunt.
  • Support all latest browsers like Firefox, Chrome, Safari, Internet explorer.