Inquire now

The Cypress Core Training Course is a comprehensive program designed to provide participants with in-depth knowledge and practical skills to effectively utilize Cypress for automated testing of web applications. Cypress is a powerful and popular open-source test automation framework known for its ease of use, speed, and reliability. This hands-on training course covers the fundamentals of Cypress, advanced testing techniques, best practices, and integration with continuous integration (CI) tools. Through a combination of lectures, demonstrations, and hands-on exercises, participants will gain the expertise needed to create robust, maintainable, and efficient automated tests using Cypress.

 

Duration 5 days – 35 hrs

 

Prerequisite

 

  • Basic understanding of web development concepts.
  • Familiarity with JavaScript programming language.
  • Comfortable using the command line interface.
  • Access to a computer with a modern web browser.
  • Willingness to learn and explore automated testing principles

 

Objectives

 

  • Gain proficiency in creating their first Cypress project, including installation, setting up project structure, and running Cypress GUI.
  • Understand the application.visit() command, basic configuration options, and effectively utilize the browser for test automation.
  • Learn various methods of selecting elements on a page and strategies for using selectors effectively.
  • Participants will write their first test, covering basic scenario automation, debugging techniques, and interpreting error messages effectively.
  • Understand best practices for writing assertions in end-to-end tests to ensure reliable and accurate test results.
  • Learn effective command-chaining techniques and understand how information is passed through commands to enhance test readability and maintainability.
  • Understand how to test dynamic pages using built-in retryability features to handle constantly re-rendering sites effectively.
  • Gain proficiency in handling data within tests, including saving, aliasing, and passing information throughout the test flow for better test management.
  • Participants will learn to create custom commands to abstract test logic into separate commands, thus expanding the Cypress library with their reusable commands.
  • Understand how to intercept network requests using the cy. intercept() command to simulate edge cases and ensure comprehensive test coverage.
  • Gain proficiency in API testing principles, including testing data from APIs and using cy. request() to prepare and handle test data effectively.
  • Learn how to install useful plugins to solve common testing problems from the open-source community and enhance test automation capabilities.
  • Understand how to handle authentication flows, including caching a logged-in state of the browser and managing backend authentication securely.
  • Learn to run Node.js scripts in tests, switch between different environments, test in headless mode, and set up a simple CI workflow for continuous integration.

 

Audience

 

  • Quality Assurance Engineers: Professionals responsible for ensuring the quality of software products through testing and automation, seeking to enhance their skills in automated testing using Cypress.
  • Test Automation Engineers: Individuals specializing in test automation, interested in learning Cypress as a tool for automating end-to-end testing of web applications.
  • Software Developers: Developers interested in incorporating automated testing into their workflow, particularly those involved in frontend development and interested in testing web applications using Cypress.
  • DevOps Engineers: Engineers responsible for implementing continuous integration and continuous deployment (CI/CD) pipelines, interested in incorporating Cypress tests into their automation workflows.
  • Software Testers: Testing professionals at various levels of experience who want to learn Cypress to enhance their testing capabilities and improve the efficiency of their testing processes.
  • QA Managers: Managers overseeing quality assurance processes and teams, interested in understanding Cypress to make informed decisions about test automation strategies and tooling.
  • Web Developers: Frontend developers interested in understanding how to write automated tests for their web applications using Cypress to ensure code quality and prevent regressions.
  • IT Professionals: Professionals from various IT backgrounds interested in learning about modern test automation tools and techniques, particularly those involved in web application development and testing.
  • Anyone Interested in Automated Testing: Individuals from different domains who want to learn about automated testing and Cypress as a tool for creating and running automated tests for web applications.

 

Course Outline

 

Understanding basics

 

  • Creating your first Cypress project Installation and project structure, running Cypress GUI
  • Opening the application.visit() command, basic configuration, effective work with browser
  • Selecting elements on page ways of selecting elements on page and selector strategies
  • Writing your first test basic scenario automation, debugging, and reading error messages
  • Making assertionsBest practices for writing assertions in end-to-end tests

 

Get to know Cypress

 

  • Effective command chainingWriting effective command chains and understanding how information is passed through commands
  • Testing dynamic pages using built-in retry ability to test a dynamic, always re-rendering site
  • Handling data within a testHow to save and alias information, and pass it around your test
  • Creating custom commandsAbstracting test logic into separate commands, expanding Cypress library with own commands.

 

Working with network

 

  • Intercepting network requestsLearning how to use cy. intercept() command for testing edge cases
  • API testing data from API and using cy. request() to prepare and handle test data
  • Installing useful pluginsSolving common problems with resources from the open-source community
  • Handling authentication flowCaching a logged-in state of the browser and managing backend authentication

 

Managing Cypress Project

 

  • Running Node.js scripts in testSeeding database using a predefined script and connecting it to the test flow
  • Switching configurationLearn how to switch between different environments
  • Testing in headless modeRunning tests in headless mode and explanation of its functionality
  • Setting up a simple CI workflowRunning a test suite on GitHub actions and collecting results

 

Inquire now

Best selling courses

CLOUD COMPUTING

Terraform

Terraform is a configuration orchestration tool for building and managing infrastructure on cloud & data centers. The course is instructor-led, live training (onsite or remote), and is designed for Engineers with little or no previous experience managing infrastructure. The course talks about in-depth Terraform syntax and techniques used to automate the setup and deployment of infrastructure.

Duration  3 days – 21 hrs    Overview    The ITIL Leadership – Digital and IT Strategy training course is designed for senior IT professionals, managers, and leaders who seek to navigate the complex landscape of digital transformation and IT strategy. This course focuses on providing strategic insights, leadership skills, and practical approaches for aligning...

PROGRAMMING / CODING

Spring Architecture and Design

Spring Cloud is a platform for building Java-based distributed systems and microservices. Building complex enterprise applications is challenging. Any change made to a part of the systems could trigger the need for changing the design of the entire system. By the end of this training, participants will have a solid understanding of Service-Oriented Architecture (SOA) and Microservice Architecture as well practical experience using Spring Cloud and related Spring technologies for rapidly developing their own cloud-scale, cloud-ready microservices.

BUSINESS INTELLIGENCE

Dax

Duration 5 days – 35 hrs   Overview The DAX (Data Analysis Expressions) Training Course is designed to provide participants with a comprehensive understanding of DAX, the powerful formula language used in Power BI, Excel, and SQL Server Analysis Services. This course covers the essential concepts, functions, and techniques required to create advanced calculations and...

OPERATING SYSTEMS

Linux Fundamentals

Linux Fundamental provides students a thorough introduction to Linux™ for those who are new to the Linux environment. Delegates will learn how to manage files and directories, utilize the vi editor, work with Linux security mechanisms to protect files and programs, work with the Linux shell to control the flow and processing of data through pipelines, design and write shell programs of moderate complexity, and manage multiple concurrent processes in order to achieve higher utilization of Linux. They will learn how to perform basic operations on the system and how quickly to solve problem.

PROGRAMMING / CODING

Google Apps Script

The Google Apps Script training course give you a detailed knowledge on coding like Automating data calculation, Fetching and sending data from third party software like Trello & Salesforce, connecting different sheets, Documents and other tools, Setting a trigger based on an event. This course is ideal for someone who use google sheets and have no coding background.

This workshop teaches the participants how to design and develop server side applications using the event-driven, non-blocking model framework Node.js. This program inducts the participant in some of the advanced concepts of the JavaScript language so that the participant is well equipped to build end-to-end application using JavaScript.

Duration: 3 days – 21 hrs   Overview This training course is designed to provide participants with a comprehensive understanding of Portfolio Management and Contract Management, focusing on best practices, tools, and techniques. The course covers the strategic alignment of projects within a portfolio, effective management of contracts, risk management, and optimization of resources to...

// BG EARTH WHEN NOT PLAYING

We use cookies on our website to personalize your experience by storing your preferences and recognizing repeat visits. By clicking “Accept”, you agree to the use of all cookies. You can also select “Cookie Settings” to adjust your preferences and provide more specific consent. Cookie Policy