This course introduces Cypress by comparing it with Selenium and highlighting its architectural strengths in automation. You’ll learn installation, setup, and test structure before diving into core features like locators, selectors, assertions, and Cypress commands. The course covers handling UI elements, windows, tabs, popups, and frames, along with promise handling in asynchronous operations. You’ll also explore the Page Object Model, environment variables, API testing, and advanced CSS selectors, while gaining practical experience with Git, GitHub, and Jenkins. By the end, you’ll be ready to build robust automation frameworks with Cypress.
Who should take the course?
This course is ideal for software testers, QA engineers, and developers who want to learn end-to-end automation testing using Cypress. It’s well-suited for those with basic knowledge of JavaScript or testing concepts who are looking to streamline testing workflows and ensure application reliability. Whether you’re a beginner exploring automation, a QA professional enhancing your skill set, or a developer aiming to integrate testing into CI/CD pipelines, this course will equip you with practical skills to perform efficient and reliable automation testing with Cypress.
What you will learn
Understand Cypress architecture and how it compares with Selenium
Understand the asynchronous nature of Cypress and handle promises
Conduct both implicit and explicit assertions in testing
Interact with web UI elements like checkboxes, dropdowns, and mouseover events
Perform API automation with Cypress
Integrate and manage Jenkins for continuous integration
Course Outline
Introduction
Introduction And Course Outcome
Cypress Architecture and Cypress vs Selenium
Tools Installation And Project Setup
NodeJS VS Code And Project Setup – Windows
NodeJS VS Code And Project Setup – Mac
Cypress Setup And Project Structure
Cypress Installation
Cypress Test Runner Introduction
Exploring Cypress Folder Structure
How To Update Cypress Version
Getting Started With Cypress Automation
Cypress Syntax And First Test Case
How To Run Cypress Automation Using Commands
Cypress Intellisense With VS Code
Cypress Locator Strategy And Selector Playground
Get Method And CSS Selectors Implementation
Using XPath With Cypress
Working With Cypress XPath
Deep Dive Into Cypress Concepts
Get Command Details
How To Chain Commands
Within Command Details
Find Command - How to work with child elements
Asynchronous Nature
Synchronous Vs Asynchronous Nature
Cypress Promise Handling
Cypress Assertions
Implicit Subject Assertions
Explicit Subject Assertions
Default And Common Assertions
Web UI Interactions
How To Click On Element - Multiple Ways
Double And Right Click On Element
How To Type And Clear Element
Checkbox and Radio Button Interaction
How To Work With Dropdown Elements
How To Mouseover - Trigger Command
How To Mouseover - Invoke Command
Working With Element List
Each And Wrap Command - For Loop
Element List Iteration
AutoSuggest Dynamic Dropdown
Working With Windows-Tabs-Popups-Frames
JavaScript Alert And Confirm Popups
Working With Multiple Tabs
Working With Multiple Windows
Working With Iframes
Common Challenges
Send Empty Data - Handle Uncaught Exceptions
Framework Preparation
Hooks Explained
Include Exclude From Test Execution
Fixtures - Handling Test Data
Fixtures - Run Same Test With Multiple Data
Custom Commands - Create Your Own Cypress Command
Custom Commands - Real World Examples
Page Object Model Framework
What is a Framework?
What is Page Object Model?
No Framework Test Suite
Create Page Object Test Suite
Framework Refactor - Remove Hard Coded Data
Reporting And Cloud Dashboard
Test Execution Screenshots And Videos
Retry Failed Test Cases
Awesome Reports Generation
Awesome Reporter Options
Cypress Cloud Dashboard
Advanced Features
How to use Environment Variables
Experimental Feature - Safari Webkit
API Testing Concepts
RestAPI Architecture - Part 1
RestAPI Architecture - Part 2
What Are Endpoints
GET-POST-PUT-DELETE
Understanding Headers
What To Verify In RestAPI Testing
Cypress API Automation
Practice Resources And Postman Account
How To Make A Get Request
How To Use Alias
POST Request - Multiple Examples
Request Chaining
POST-PUT-Delete - Complete Workflow
Code Refactor - Complete Workflow
Working With OAuth 2.0
Git And GitHub - Version Control System
Git and GitHub Introduction
Git Installation on Windows
Git Installation on Mac
Create Local Git Repo - Staging And Commit
File Checkin - GitHub Remote Repository
Advantages and Importance of Git Branches
File Checkin and Resolve Merge Conflicts - Real Time Example