JavaScript and Node.js Essentials for Test Automation

Learn essentials of JavaScript and Node.js to automate tests with a number of JS based testing tools and frameworks

JavaScript started off as a scripting language to add interactivity to web pages but with addition of Node.js, it has become one of the most popular full stack programming languages.

What you’ll learn

  • JavaScript and Nodejs fundamentals including rules and syntax.
  • Nodejs project set up.
  • Functions including callback, arrow and async/await.
  • Objects and Array and its use in test automation.
  • String manipulation.
  • Object Oriented Programming in JS.
  • Learn how modules work in Nodejs including import and export.
  • File handling using native fs module.
  • Error handling and best practices.
  • Many real time use cases in Test Automation.

Course Content

  • Week1: Introduction –> 2 lectures • 6min.
  • Installation and set up –> 5 lectures • 24min.
  • Variables –> 4 lectures • 25min.
  • Data types –> 7 lectures • 58min.
  • Week 2: Operators –> 10 lectures • 55min.
  • Strict mode –> 1 lecture • 5min.
  • Conditional Statements –> 9 lectures • 32min.
  • Week3:Loops –> 7 lectures • 50min.
  • String Manipulation –> 9 lectures • 1hr 5min.
  • Week4: Functions –> 7 lectures • 1hr.
  • Arrow functions –> 2 lectures • 13min.
  • Callback functions –> 5 lectures • 32min.
  • Promises –> 2 lectures • 15min.
  • Async/Await –> 2 lectures • 7min.
  • Functions – Real time us case –> 4 lectures • 22min.
  • Week5:Objects –> 12 lectures • 1hr 2min.
  • Arrays –> 9 lectures • 46min.
  • Week6:Classes –> 7 lectures • 32min.
  • Node.js Essentials –> 13 lectures • 1hr 10min.
  • Error Handling –> 4 lectures • 29min.
  • Course Materials –> 1 lecture • 1min.

Auto Draft

Requirements

JavaScript started off as a scripting language to add interactivity to web pages but with addition of Node.js, it has become one of the most popular full stack programming languages.

In my opinion, JavaScripts ranks #1 with regard to the availability of test automation tools and frameworks including some of the popular ones – WebdriverIO, Cypress, Playwright, TestCafe, Nightwatch, Mocha, Jest, Jasmine, CodeceptJS and Casper.js and so on.

There goes the reason why a test engineer should add JavaScript and Node.js into their career skills.

 

Why this course?

  1. Covers what is absolutely necessary for test automation
  2. Tool/framework agnostic which works for any JS based tools or framework
  3. All examples are taken from REAL TIME TEST AUTOMATION projects
  4. Suites for beginners or experienced with other language background such as JAVA, Python or C#
  5. Exercises and quizzes at the end of each section

This course specifically addresses the challenges of test engineers who come from different language backgrounds and can easily relate and understand syntax and rules of JavaScript

The course is designed as 6 weeks learning plan:

Week 1:

  1. Introduction
  2. Node.js project set up
  3. Variables
  4. Data types

Week 2:

  1. Operators
  2. Strict mode
  3. Conditional Statements

Week 3:

  1. Loops
  2. String Manipulation

Week 4:

  1. Functions
  2. Arrow functions
  3. Callback functions
  4. Promises
  5. Async/Await
  6. Functions – Real time us case

Week 5:

  1. Objects
  2. Arrays

Week 6:

  1. Classes
  2. Node.js Essentials
  3. Error Handling

All sections have enough exercise and quizzes so you can practice more and be comfortable in writing effective and less error prone code.

Get Tutorial