Protractor Tutorial 3 – Prerequisites To Learn Protractor

Protractor is in demand now a days for Angular and AngularJS applications. Even people are using Protractor for Non-Angular applications as well because its fast and you need to write less code to handle browser , parallel testing and cross browser testing.

In this post, I will explain how can we start learning Protractor or basic prerequisites to start with Protractor.

Since Protractor is a NodeJS program, You must be aware of basics of below programming language:-

  1. JavaScript
  2. NPM
  3. NodeJS (Its a running environment for JS programs)
  4. Jasmine
  5. TypeScript


You should start with JavaScript first and try to learn and practise at least basic concepts of JavaScript. You should focus on below topics:-

  1. Variables
  2. Data Types
  3. Type Conversions
  4. Operators
  5. Comparisons
  6. Conditional Statements
  7. Looping Statements
  8. Function and Function expressions
  9. Objects
  10. Object methods, “this”
  11. Constructor, operator “new”
  12. Numbers
  13. String
  14. Arrays
  15. JSON Methods
  16. Var, let and const
  17. Global Object
  18. Scheduling: setTimeout and setInterval
  19. Decorators and forwarding, call/apply
  20. Inheritance
  21. Error Handling
  22. Callbacks
  23. Promises
  24. Async/await
  25. Module

I found below websites useful to learn JavaScript:-

  1. – Free
  2. – Paid
  3. – Free
  4. – Free

NPM and NodeJS:-

Once you have basic knowledge of JavaScript, start Learning basics of NPM and NodeJS. No need to go deep in these but cover basics. You will find so many similarities in JavaScript and NodeJS because Node JS is an interpreter or running environment for a JavaScript programming language.

I found below websites useful to learn NPM and NodeJS:-

  4. – Paid


Since Protractor comes with Jasmine test framework by default, so you should be aware of Jasmine. It is similar to TestNG or JUnit for Java. Jasmine is a behavior-driven development framework for testing JavaScript code. It does not depend on any other JavaScript frameworks. It does not require a DOM. And it has a clean, obvious syntax so that you can easily write tests.

You can refer its official website to learn Jasmine:-

Once above topics are over, you are good to start with Protractor.


TypeScript scales JavaScript. It is superset of JavaScript. Since Protractor tests can be written in JavaScript and TypeScript both and TypeScript is much powerful than JavaScript, I am sure Protractor tests will be written mostly in TypeScript. That’s why I have added TypeScript also as a Prerequisites.

You can refer its official website to learn TypeScript:-

I will try to cover maximum in my blog.

More on Protractor in upcoming posts. Stay tuned and keep learning with me.


1 thought on “Protractor Tutorial 3 – Prerequisites To Learn Protractor

Leave a Reply

Your email address will not be published. Required fields are marked *