
Learn to install Cypress, set up and write your first test, and optimize it with a page object model architecture, using your basic programming and quality assurance experience.
Master the basics of JavaScript to start automation in your projects and compare top languages like Python and Java, while leveraging testing tools such as Postman, Cypress, Playwright, and Selenium.
Install and set up a code editor, preferably VS Code, with readable themes; install Node.js and npm to manage packages and install Cypress for automation, then start coding.
Set up VS Code for JavaScript testing with a code runner, create test.js, and learn primitives such as number, string, boolean, null, and undefined using let and const.
Explore methods, aka functions, in JavaScript: declare and call functions, use arrow syntax, pass parameters, and understand return versus console.log for returned values.
Explore objects in JavaScript: an unordered collection of key-value properties, accessed with dot notation, including nested objects and methods as arrow functions, for automation testing with Cypress or Playwright.
Explore arrays in JavaScript, learning how to create simple lists, access elements by zero-based index, and use the length property to count items; retrieve an array inside an object.
Master conditional statements in automation testing by using if, else if, and else, plus switch with cases and default, and learn equality operators and comparisons.
Learn how to use loops, including for and while, to iterate over arrays by length and index, display results with console logs, and handle dynamic iteration.
Learn the basics of object-oriented programming in JavaScript, including classes, constructors, properties, and methods, through a car template and its instantiation, linking to page object model automation.
Install Cypress and set up an automation testing folder in VS Code, initialize npm, install Cypress as a dev dependency, and open the Cypress dashboard to run end-to-end tests.
Learn the Cypress test structure by organizing end to end tests with describe and it blocks, using hooks like before, before each, after, and after each to streamline setup and execution.
Learn to use the Cypress get method to locate elements with data-test-id, data-ci, or id, ensuring unique selectors and robust tests by prioritizing data attributes over classes.
Learn to create a Cypress test from visit to login, type, and click, then add to cart and verify with assertions, and optimize with beforeEach for repeat tests.
Discover the page object model in Cypress by splitting pages into classes with selectors and actions, exporting the page, and using it in tests to reuse code.
Create a Cypress automation portfolio by adding five to ten tests (including page object model tests for login and cart) to a GitHub repository with a readme.
Hi. I'm Radu, a Cypress Ambassador, QA content creator and QA Engineer with over 15 years of experience. In this course you will learn how to start automation in CypressIO from scratch.
In today's fast pace tech industry is not enough to do manual testing. Automation is in the spotlight right now. Learning to automate using modern frameworks like CypressIO is not that hard. With a few hours of theory and practice you could land your first QA Automation job or get to the next stag of you QA career by adding a new skill to you toolbox.
This course will take you step by step trough the CypressIO installation process, test organization, locator/selector strategy and guide you trough creating your first tests. At the end we will have a quick view of the Page Object Model architecture which is used across the board for software QA automation.
What si CypressIO?
Cypress is a automation testing framework that can easily create tests for your modern web applications, debug them visually, and automatically run them in your continuous integration builds. Cypress allows you do create automation on backend testing also; this way you would have a complete QA coverage of your apps.