Basics of JavaScript for Cypress

Duration: 7 Hours

Course Overview

This course introduces JavaScript as a prerequisite for automation testing with Cypress. You will learn:

  • The fundamental constructs of JavaScript
  • How to manipulate web page elements
  • Essential JavaScript functions for automation

Course Objectives

  • Understand the types of applications that can be built using JavaScript
  • Learn key JavaScript concepts such as arrays, loops, and variables
  • Apply JavaScript knowledge in automation testing with Cypress

Course Agenda

JavaScript Basics for Automation

Introduction to JavaScript
Variables and Data Types
Conditional Statements
Loops
Functions
Objects & Working with Objects
Arrays & Working with Arrays
Strings & Working with Strings
Numbers & Working with Numbers
Class, Constructor & Static Methods
Object-Oriented Programming (OOPs)

Cypress Automation Testing Course

Version: 10.3.0
Trainer: G Thimmaraju
Course Code: Cypress
Provider: DBS QA Technologies

Course Summary

This course provides an in-depth understanding of Cypress Automation Testing, covering:
✔ Introduction to Cypress & Setting up Cypress
✔ Writing & Running Cypress Tests
✔ Page Object Model (POM), Viewport, Fixtures
✔ Locators – XPath, CSS & Custom Commands
✔ Working with Web Elements (Checkboxes, Dropdowns, Alerts, File Handling)
✔ Reporting (Video Reports, Dashboard, Mochawesome)
✔ API Testing Integration & BDD Cucumber


Learning Outcomes

✅ Build fast & reliable automation tests using Cypress
✅ Gain hands-on experience in Cypress framework design
✅ Learn Mocha and Cucumber frameworks for Cypress automation
✅ Understand Cypress Components for screenshots, videos & reporting
✅ Master Page Object Model (POM) & Cypress best practices


Cypress Course Content

Introduction to Cypress

  • Benefits of Automation & When to Automate
  • Comparison: Selenium vs Cypress
  • Understanding Cypress Architecture & Features
  • Installation & Environment Setup (NodeJS, GitBash, VS Code)

Cypress Fundamentals

  • Running Cypress Tests (Command Line & GUI)
  • Cypress Test Runner & Project Structure
  • Cypress API & Key Commands (Visit, Click, Type)
  • Mocha Framework Basics for Cypress

Handling Web Elements

  • Locators: XPath, CSS, Custom Commands
  • Working with Checkboxes, Radio Buttons, Dropdowns
  • Handling Alerts, File Uploads & Downloads
  • Working with Tables, Iframes, Shadow DOM Elements
  • Cypress Plugins for XPath, File Upload & Cucumber

Test Execution & Configuration

  • Running Tests in Chrome, Electron & Firefox
  • Cypress Assertions (Chai Assertions)
  • Cypress Hooks & Fixtures
  • Screenshots, Video Recordings & Cypress Dashboard

Advanced Cypress Features

  • API Testing (GET, POST, PUT, DELETE)
  • Cypress Cucumber Integration
  • Data-Driven Testing (Excel to JSON)
  • Cypress Playground & Cloud Reporting

CI/CD & Reporting

  • Mochawesome Reports & Allure Reports
  • Cypress Jenkins Integration
  • GitHub Actions & Pushing Test Frameworks to GitHub

Additional Resources

📌 Official Cypress Docs: https://docs.cypress.io/
📌 Cucumber BDD Docs: https://cucumber.io/
📌 Community Support: Cypress Playground, GitHub, NPM Packages

×

Welcome to DBS Technologies!

 

×