
In this lecture, you'll explore the history and evolution of Node.js—how JavaScript, once limited to web browsers, expanded its reach to server-side development. We'll walk through key milestones that led to the creation of Node.js and understand how it transformed JavaScript into a powerful full-stack language.
In this lecture, you’ll learn how to download and install Node.js on your machine. We'll walk through verifying the installation using simple terminal commands and ensure your environment is ready to run JavaScript outside the browser. By the end, you'll have Node.js and npm fully set up and ready for development.
Understanding and using npm: key commands including npm init, npm install, and working with dependencies. We'll explore how the CLI works behind the scenes and practice running basic scripts to build a strong foundation for backend development.
In this hands-on lecture, you'll learn how to initialize a Node.js project using the npm init command. We'll walk through the creation of the package.json file, understand its key fields, and see how it helps manage your project’s dependencies and configuration.
In this lecture, we’ll dive deep into the package.json file—what it is, why it’s important, and how it powers every Node.js project. You'll learn about its descriptive properties (like name, version, and author) and functional properties (like scripts and dependencies) that define and control your project.
In this lecture, you’ll learn what a code editor is and why it plays a crucial role in development. We'll explore the key features that make Visual Studio Code (VS Code) a preferred choice for JavaScript and Node.js development, including its speed, extensions, and built-in terminal support.
IIn this lecture, you’ll get an overview of the e-commerce portal we’ll use throughout the course for automation testing. We'll walk through its key features, tech stack, and how the frontend and backend components interact—giving you a clear understanding of the application you'll be testing.
In this lecture, you’ll learn how to download and install MySQL Server along with MySQL Workbench. We'll guide you through the setup process step by step, ensuring your local database environment is ready to support the backend of the e-commerce application.
In this lecture, you'll learn how to set up the backend of the e-commerce application on your local machine. We'll cover how to install project dependencies, configure environment variables, connect to the MySQL database, and run the server—preparing the backend for automation testing.
In this lecture, you'll learn how to set up the frontend of the e-commerce application on your local machine. We’ll guide you through installing dependencies, configuring the environment, and running the React-based UI so you can interact with the application through a browser—completing the setup for end-to-end automation testing.
In this lecture, you'll bring everything together by starting both the frontend and backend of the e-commerce application on your local machine. We'll verify successful setup by testing key features in the browser—ensuring the environment is fully ready for automation testing.
In this lecture, you'll learn what WebdriverIO is and how it fits into the world of test automation. We'll explore its core purpose, architecture, and where it stands among other automation tools—giving you a clear understanding of why WebdriverIO is a smart choice for modern web testing.
In this lecture, you’ll learn how to quickly set up a WebdriverIO automation framework with Cucumber support using the command line interface (CLI). We’ll walk through the setup process step by step—configuring essential options, generating the project structure, and preparing your environment to write behavior-driven (BDD) test scenarios.
In this lecture, you’ll enhance your development experience by installing key Visual Studio Code extensions. We’ll cover the Material Icon Theme for better file navigation and the Cucumber extension for improved support with feature files and step definitions—making your automation workflow smoother and more efficient.
In this lecture, you'll learn the key differences between traditional test automation and Behavior-Driven Development (BDD) testing. We'll compare structure, readability, collaboration benefits, and real-world use cases—helping you understand why BDD is valuable in modern test automation with tools like WebdriverIO and Cucumber.
Explore how to write Cucumber tests in a feature file, define a scenario, and pass test data for registration in an e-commerce portal using bdd practices.
In this lecture, you’ll learn how to use Cucumber data tables to pass structured data into your BDD test steps. We’ll cover how to write data tables in feature files
Unlock the core building blocks of JavaScript by understanding how to store and manage data effectively. In this lecture, you'll learn about primitive data types such as string, number, boolean, null, and undefined.
We'll explore how to declare variables using var, let, and const, understand their scopes, and apply best practices that are essential for writing reliable test automation scripts. Whether you're asserting values or managing test data, this lecture sets the foundation for clean and bug-free code.
Explore JavaScript data types by declaring variables like username, age, and email, and use typeof to identify string, number, boolean, and object types, including primitive versus non-primitive.
You'll understand the difference between function declarations and expressions, and learn when and why to use arrow functions
Learn how to declare and call JavaScript functions with parameters and arguments, using a login example. Understand how missing arguments yield undefined in test automation scenarios.
Explore arithmetic operators in JavaScript, including addition, subtraction, multiplication, division, modulus, and exponentiation, then learn increment and decrement and the compound assignment x += y.
Master the assignment operator in JavaScript, including simple assignments and compound forms like plus equals, minus equals, times equals, and divide equals, with increment and decrement examples.
Explore JavaScript comparison operators by evaluating numbers and strings with let B = 5, covering greater than, less than, and strict versus loose equality.
Explore how logical operators in JavaScript combine conditions to determine discount eligibility, using and, or, and not with real-world examples of loyalty status and purchase value.
Master the JavaScript ternary operator, a compact if-else that evaluates a condition and selects one of two results. The lecture uses an age example to yield adult or minor.
Master asynchronous JavaScript in UI automation by using async/await to replace then chains, ensuring reliable login flows and page loads. Learn to pause until promises resolve.
Explore declarative versus imperative styles in Cucumber under behavior driven development, emphasizing user-centric, readable steps and abstracted implementation behind page objects for maintainable BDD.
Start your CucumberJS journey by learning how to write step bindings in JavaScript! In this beginner-friendly lecture, you'll understand how to connect Gherkin steps to executable code using Given, When, and Then.
In this lecture, you’ll learn how to execute your CucumberJS step bindings using WebdriverIO. We'll walk through the process of running feature files with the command npx wdio wdio.conf.js, which triggers your defined specs and linked step definitions. You'll see how everything connects from Gherkin scenarios to JavaScript execution and understand how WebdriverIO orchestrates the entire BDD flow. Perfect for testers looking to see their automation framework in action!
Take your step definitions to the next level with powerful regular expressions! In this lecture, you'll explore how to use both JavaScript RegEx and Cucumber Expressions to write flexible and dynamic step bindings. Learn how to capture parameters, match patterns in Gherkin steps, and choose the right expression type for your test cases. By the end of this session, you'll be able to write cleaner, reusable, and more expressive steps for your BDD tests with CucumberJS and WebdriverIO.
Explore cucumber concepts including scenarios, scenario outlines, and backgrounds in an e-commerce registration feature, learn how to test multiple data sets with examples and use background to reduce duplication.
Learn BDD with WebDriverIO by building a scenario outline with parameterized name and email, using background and bindings, and validating Edge and Chrome execution with example and data tables.
Learn how WebdriverIO launches a browser and navigates to your test URL using simple commands. This lecture mirrors how a tester opens a browser and types a URL only now, your script will do it for you.
Key Topics:
WebdriverIO setup and test runner
browser.url() method
Running your first script to open a page
Launch local e-commerce app by starting backend with npm start and frontend with npm run dev, ensure mysql service runs, then run tests with npx wdio against /auth at localhost:5173.
Retrieve the browser page title using a const variable in a test and verify it matches the e-commerce demo. Await the title value and log it for confirmation.
Learn how to locate UI elements with XPath in web automation, focusing on relative XPath over absolute paths, and using HTML tags, attributes, and dev tools to identify reliable selectors.
Learn to master CSS selectors and custom locators for robust web automation, including handling dynamic IDs with starts-with, ends-with, contains, XPath alternatives, and using data-test-id for stable element identification.
Explore what UI locators are and how they help scripts interact with page elements. Just like testers look for fields and buttons, automation scripts need to identify those elements, this lecture teaches you how.
Key Topics:
What are locators (selectors)?
Types: id, class, name, CSS, XPath
Tools to inspect elements (DevTools)
Enable VS Code intellisense for WebDriverIO by adding a js config.json with types for node, wdio/globals, and wdio/goomba framework, so browser methods like await browser and $ are visible.
We’ll dive deep into how WebdriverIO uses the expect API for assertions. Assertions are the heart of any test they determine if your application behaves as expected. Just like a manual tester checks whether the correct message appears, or a button is visible expect in automation does the same.
By the end of this lecture, you'll be comfortable writing different types of assertions in your test scripts using expect.
Learn how to write robust assertions in WebdriverIO using expect to verify user registration, including url navigation to /home, shop products text, and the featured section.
Learn test data management in automation by generating unique emails and passwords with faker, enabling end-to-end WebdriverIO and Cucumber tests to run without email conflicts.
Learn how to define and manipulate strings in JavaScript for automation testing, covering string literals, length, concat, includes, starts with, ends with, escape characters, and ES6 template literals.
Explore JavaScript objects using object literals, define properties and a login behavior, log in users like Alice and John, and learn why duplication prompts the shift to a factory function.
Explore factory and constructor functions in JavaScript, creating login objects with name and role, then transition to ES6 classes and page object models.
Explore how to define a JavaScript class using the class keyword, convert constructor functions to ES6 classes, and implement a login class with username and password properties and login/logout methods.
Explore three JavaScript class patterns: Commonjs named class, ES6 named export, and ES6 default export, using import, require, and object initialization in a page object model context.
Explore how the page object model encapsulates user interface elements and actions to connect feature files and step bindings, promoting reusable, maintainable test automation.
Create a login page object by organizing UI elements and interactions into a class with getters for email, password, and login button, plus an open page method.
Apply the page object pattern in step definitions by exporting a login page instance, importing it, and using loginPage.open(authUrl) plus the sign up action via the page object.
Refactor registration and login steps into page objects, exposing name, email, and password inputs as getters. Verify the home page shows shop products and featured sections after registration.
Tag tests in cucumber using the root @ sign to group features and scenarios, apply feature-level and scenario-level tags (including smoke), and filter or run specific test sets.
Organize tests with cucumber tags to group feature scenarios, apply tag expressions, and run selective smoke and valid credential tests for login and registration journeys.
Learn to filter cucumber tests by tags to run targeted scenarios, using tag expressions in conf.js or via cucumber ops from the command line, demonstrated with smoke and registration tags.
Discover Cucumber tags strategy by grouping by feature, by test cycle (smoke, regression, within or outside sprint), and by test type (integration, sit, and UAT) to design robust automation.
Recap how cucumber tags organize features and scenarios, explain tag expressions and two execution methods, and highlight benefits for easy tag filtering and ci/cd pipelines.
Configure cucumber autocomplete in vscode by adding a settings.json in the .vscode folder and aligning features and step definitions to enable efficient navigation of bindings.
Launch the e-commerce backend and frontend from the terminal, start backend with npm start and frontend with npm run dev, then verify at localhost five and 73.
Create scripts in package.json to run all tests or tag-based tests (smoke, regression) with npm run. This simplifies execution and enables consistent test runs in CI/CD and locally.
Learn how to run tests in headless versus non-headless modes with webdriverio, configure chrome options, and parameterize headless mode for ci/cd pipelines using process.env and cross-env.
Execute cross-browser tests by running the same script on Chrome and Edge simultaneously, with headless and non-headless options, and generate a report across multiple browsers.
Explore how parallel test executions run multiple feature files across Chrome and Edge, using max instances to enable concurrent sessions and reduce runtime in WebDriver IO.
What You'll Learn
1. Installation & Setup
Get started by setting up everything you need to begin automating:
Install Node.js, WebdriverIO, and Visual Studio Code, Git Version control
Configure your project environment step-by-step
Learn how to verify installations and set up a smooth development workflow
Setup your own Ecommerce application to learn automation.
2. Build a Real Test Automation Framework
Learn to build a scalable and maintainable test automation framework from scratch:
Create test scenarios using Cucumber and Gherkin syntax
Use WebdriverIO to automate real web applications
Organize your framework with best practices (page object model, reusable steps, etc.)
Handle waits, selectors, and test data efficiently
Learn Allure Report configuration
3. Learn JavaScript for Testers
No coding experience? No problem! This section teaches you essential JavaScript concepts you need for automation:
Variables, functions, arrays, loops, and conditions
Working with modules and async/await
Control statements like, If..Else, Switch...Case, For Loop.
Arrays and Objects
Practical JavaScript examples used directly in your test code
4. Learn Git for Test Automation Projects
Understand how to use Git to manage and collaborate on your test code:
Set up Git and connect your project to GitHub
Learn basic and advanced Git commands
Manage branches, commits, pull requests, and version control workflows