empower your people,
empower your organization
Call:  08000 199337 From overseas call +44 20 7264 2185
face-to-face training
Training Since 2002
Online Learning
Certified Trainers with 20+ Year's Experience
Virtual classroom training
Above Industry Average Pass Rates
7-key IT disciplines
No Fee Course Resits

Enjoy live training & exams NOW from your own home Learn more Now offering Remotely Proctored ExamsLearn More

Cypress Introduction

About the Course

Course Duration: 3 days in the classroom or 4 days online

Price From: TBC

 

Private Course: Click Here

Introductory course covering essential concepts for using Cypress, focussing on developing reliable automated GUI tests for Web, and applies to any platform (Windows, Mac, Linux).

Live online training course (Instructor-Led), delivered over 4 sessions of approximately 3.5 hours each. You will be provided a workbook for the course and homework exercises between sessions.

Sessions are recorded so you can review what you have learned at a later date

Entry Requirements

None

Exam

There is no exam requirement for this course.

Course Objectives

Introductory course covering essential concepts for using Cypress, focussing on developing reliable automated GUI tests for Web, and applies to any platform (Windows, Mac, Linux).

Syllabus – Key points

Introduction
What is Cypress, Pros & Cons of Cypress, Supported Browsers, Help References

JavaScript (Optional)
History & Terms, Executing JavaScript in the Console, Syntax Basics, Objects, String Functions, Functions, Loops

Visual Studio Code IDE
IDE Requirements, NodeJS, Installing & configuring VS Code, First Script

Cypress Setup
package.json & npm, Installing Cypress, Cypress VS Code Extensions, The Test Runner, Debugging, Cypress Folder Structure (Scaffolding)

Locators & Actions
Chrome Development Tools, Using ID, Class & CSS, Selocity, The Test Runner Locator Playground, cy.get() & .contains(), Chaining Locators, Using .within(), Common Actions, Action Options, Writing to the Log & Screenshots

CSS
Introduction to HTML & Web Page Anatomy
CSS Notation

Synchronisation
Waiting for Elements to appear, Local Timeouts, Test Spec Timeout, Global Timeout Config, CLI Parameters for Timeouts, Wait

Mocha
What is Mocha?, Spec Structure, Enabling/Disabling Tests, Hooks, Mocha Snippets for VS Code

Asserts
Chai Styles, Implicit Asserts, Regular Expressions, Explicit Asserts, When NOT to Assert

Custom Commands & Function Libraries
Adding Cypress Commands
Function Libraries

Fixtures
Using Hooks to load Fixture Test Data
Environment Variables

Alerts
Handling Alerts, capturing Alert messages

Command Line Interface (CLI)
Using npx & npm aliases
CLI parameters

Dashboard
Setting up & using the Dashboard

Continuous Integration
Setting up pipelines in Azure DevOps (ADO)
JUnit reports

Extras
Browser Navigation, Viewport, Window Objects, URL Information, Invoking JavaScript functions from the page, Cookies, Handling Web Tables, Page Object Model (POM), API Testing, GitHub Actions

Recorder
Using the new Recording feature in Cypress

Reviews

There are no reviews yet.

Be the first to review “Cypress Introduction”

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

View dates and book

Select the Cypress Introduction Classroom & Virtual Course

Now offering VIRTUAL courses. Enjoy live training NOW from your home Learn more
There are no dates scheduled for this course now. Please call Paula Jones to enquire about this course on 08000 199337, if you\'re calling overseas please call +44 207 264 2185. Alternatively, please email p.jones@tsg-training.co.uk and she’ll be in contact with you shortly.

This product is currently out of stock and unavailable.

Types of Exams

Pearson Vue Voucher Exams

Online Exam

Classroom Exam

OUR CUSTOMERS INCLUDE

OUR LOCATIONS

We operate from ten training centres across the country, giving you more choice for where to attend

  • Birmingham
  • Bristol
  • London
  • Milton Keynes
  • Reading
  • Borehamwood
  • Leeds
  • Manchester
  • Nottingham
  • Southampton