fbpx
Call us on  08000 199337 From overseas +44 (0)1344938011

Cypress Introduction

Book online today or if you need any assistance or help chosing the right course for you, please call our team on 08000 199337 and we will help point you in the right direction.

Classroom

From +Vat
View dates and book

Enquire Now

Course Overview

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).

Read More

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

Read Less

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”

Course dates

There are no dates scheduled for this course now. Please call Paula Jones to enquire about this course on 08000 199337. When calling from 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.

Frequently asked questions

A Pearson VUE exam voucher enables you to book and sit your exam at your local Pearson VUE testing centre at a time and date convenient to you.  Pearson VUE centres are worldwide, and you will be able to choose the closest testing centre to you. You then go along to the test centre with your photo ID at the specified date and time and you will then take an electronic exam. Your exam voucher will have an expiration date and your exam must be sat before this date as these vouchers cannot be extended.

X