8411  Reviews star_rate star_rate star_rate star_rate star_half

Cypress for End-to-End Web Application Testing

Cypress is a popular front-end testing tool allowing developers to quickly and easily write, debug, and record tests. This hands-on, live Cypress training course teaches experienced developers and...

Read More
Duration 1 day
Course Code SCRPT-188
Available Formats Classroom

Overview

Cypress is a popular front-end testing tool allowing developers to quickly and easily write, debug, and record tests.

This hands-on, live Cypress training course teaches experienced developers and testers how to automate testing of web application interfaces using Cypress.

Skills Gained

All students will learn how to:

  • Create test scripts using Cypress selector playground
  • Use the online documentation and the Cypress APIs
  • Create, debug, and maintain Cypress test scripts
  • Communicate the concepts necessary for testing with Cypress
  • Interact and verify web elements using selectors

Prerequisites

Participants must have prior testing and/or automation experience, as well as a strong command of the JavaScript language and HTML and DOM fundamentals.

Course Details

Training Materials

All Cypress training attendees receive courseware covering the topics in this class.

Software Requirements

  • Chrome Browser
  • Node.js latest version
  • WebStorm or IntelliJ IDE preferred; class can also be taught using Visual Studio Code or other JavaScript-aware IDE of your choice

Introduction

Getting Started with Cypress

  • Cypress Overview
  • Create a new project with Cypress
  • Create your first test
  • Write assertions & run tests
  • Generate tests with Cypress selector playground
  • Running Tests
  • Benefits of using Cypress vs Selenium or WebDriver

CY Object

  • How to interact with the browser and navigate between pages
  • How to interact with page content to simulate user interaction (clicks, data entry)
  • Using the element selector

Network Stubbing and Mocks

  • How to simulate different scenarios by mocking HTTP request
  • Defining resource files to create mock scenarios
  • Using HTTP request interceptors

Cypress Test Runner

  • Using the test runner to run and replay tests
  • Recording tests results as a video with Cypress
  • Time-traveling using test snapshots

Debugging Tests

  • Using the browser debugging tools with Cypress
  • Cypress console outputs

Cypress & Multiple Browsers

  • Requirements for running tests in multiple browsers
  • Creating test suites for multiple browsers
  • Installing and maintaining Cypress for multiple browsers

Validation of a Small Web Application with Cypress

  • Check that expected behavior happens on click
  • Wait for asynchronous data
  • Check that the right text shows up on the screen
  • Check that the right images show up on the screen

Conclusion

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

I like their training. A lot of material covered. The labs are very good. l learned a lot.

the class/lecture was amazing and very easy to understand and was in detail.

The course was informative, and I learnt a new skill. The instructor was up to the point.

Overall it was a good bootcamp. A lot to cover so it is understandable that the pace had to be a little fast.

Class was easy to sign up for and ExitCertified provided very good communication