Learn Software Asset Management Practices With SAM Specialist | 08 - 10 November 2021 | Virtual Classroom Learn more

Cypress Introduction Training Course

Cypress Introduction Is Delivered Online For Up To 10 People

Introduction

Our Cypress Introduction training course is available as on-site training at your location or as online training. Our online training is live, instructor-led in our virtual classroom. Cypress Introduction is delivered over 4 days, with each approximately 3.5 hours online.

Our Cypress Introduction training course can be delivered to up to 10 staff members from your organisation.

Please Note

You can book this course and hold it in credit until you have decided on a specific course date. Alternatively, please view our other course dates.
Exam Not Included
4 Days
£3840Excl. VAT

Course Outline

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

Description

Our Cypress Introduction training course covers essential concepts for using Cypress, focussing on developing reliable automated GUI tests for web, and applies to any platform (Windows, Mac, Linux).

About the Course

We use GoToTraining for delivery, which can be accessed from a web browser. It provides full audio (VoIP, or Phone), desktop sharing, polls, quizzes, recording etc. We can also Microsoft Teams if required. Cypress can be run on Windows, Linux or Mac, and the course relates to all three platforms.

Who Should Attend

Our Cypress Introduction training course is designed for newcomers to Cypress. It covers everything you need to know to become proficient at writing test cases in Cypress.

Materials Provided

All of our delegates receive comprehensive workbooks for the Cypress Introduction training course.

Organisational Benefits

Cypress is a fantastic new web testing tool. It is becoming incredibly popular, and not without reason, it provides benefits of:

  • Fast deployment, with everything you need – no having to install many other dependencies (includes Mocha, Chai, JQuery, Electron Browser)
  • Very fast test execution – Cypress executes test within the web browser, unlike other tools that go through a middle layer browser driver
  • Easy to use, with tools to run tests (Test Runner), to record actions, and also to locate web elements
  • Easy integration into Continuous Integration Tools, it even includes a GitHub action to execute tests in the cloud through GitHub!
  • Multi-platform, Multi-browser
  • As well as GUI testing, it includes RESTful API Testing, and API Mocking.
  • Cypress provides a hosted Dashboard in the cloud to share Test Execution Results!

Individual Benefits

Cypress is written in JavaScript and runs on NodeJS. It is opensource and free! The Cypress team also provide an amazing dashboard service so all of your test run results can be viewed securely in the cloud by anyone that needs access to them.

Prerequisites

There are no entry-level requirements, but we do have an optional JavaScript primer chapter if you are new to JavaScript. We can also email you the setup instructions before the course so you can setup Cypress in readiness.

Prereading

You do not have to complete any prereading prior to the Cypress Introduction training course.

Exam Overview

There is no formal examination included in the Cypress Introduction training course.

Exam Type

No Exam

Professional Development Units - PDUs

There are no professional qualification credits associated with the Cypress Introduction training course.

Qualifications

There is no formal examination or certification associated with the Cypress Introduction training course.

Next Steps

Purple Griffon offer the following private virtual sessions for your team. Our Automated Software Testing training courses can be delivered on-site at your location or online for up to ten people:

Complete Microfocus UFT

Selenium WebDriver Java

Selenium WebDriver JavaScript

Selenium WebDriver C#

Cucumber Java

Cucumber JavaScript

SpecFlow

Call +44 (0)1539 736 828 now to discuss your training requirements and to book your sessions in the diary.

Conclusion

Cypress Introduction sessions are recorded so you can review what you have learned at a later date.

Cypress Introduction Course Dates

Course Filter


DD/MM/YYY - e.g. 31/12/2015
Showing 0 to 0 of 0 Total Course Dates.

Oops!

There are currently no course dates that match your selected filter options. Please try another filter or contact one of our dedicated account managers on +44(0)1539 736 828 to discuss your requirements. Thanks.

Scroll Table to View Content