cypress

How to use JSON Objects in Cypress

Reading Time: 3 minutes Hello Readers, Today we will learn about JSON objects’ significance and how to use them in Cypress. What are JSON Objects? javascript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax that is commonly used for transmitting data in web applications. surrounded by curly braces { } and contain a key/value format that is separated by a colon( Continue Reading

How to use Hooks and Tags in Cypress

Reading Time: 4 minutes Hello Readers, Today we will learn about Hooks and Tags their significance, and how to use them in Cypress. What is Cypress? The Cypress tool is a JavaScript testing automation solution used for web automation. It enables teams to create web test automation scripts. This solution aims to facilitate frontend developers and test automation engineers to write web tests in the web language that is JavaScript for web Continue Reading

An: Quick Overview of Handling Alerts and popups with Cypress

Reading Time: 2 minutes Alerts and popup in cypress:  Cypress can work with alert by default. The pop-up can be an alert or confirmation popup. Cypress is designed in such a way that it shall always click on the OK button on the pop-up. Moreover, Cypress has the ability to fire browser events. An alert is triggered by window:alert event. This is by default handled by Cypress and the Continue Reading

Introduction to the Cypress Project Structure

Reading Time: 4 minutes Hi Folks,In this blog, we talk about the Cypress Project structure that is fundamentally and architecturally different from other test automation frameworks.We use this folder to store data objects or external pieces of static data that we use throughout the tests Cypress Folder Structure Let’s understand the folder structure in cypress project, it defines entire architecture and the workflow of whole system If we know Continue Reading

How to Perform Assertions in Cypress

Reading Time: 3 minutes Hello Readers, Today we will learn about assertions their significance, and how to use them in Cypress. What is Cypress? The Cypress tool is a JavaScript testing automation solution used for web automation. It enables teams to create web test automation scripts. This solution aims to facilitate frontend developers and test automation engineers to write web tests in the web language that is JavaScript for web test automation. Continue Reading

API testing & How to perform API testing for POST and GET methods in Cypress

Reading Time: 2 minutes In this blog, you will learn to understand how to perform API testing for GET and POST in cypress with code and output. What is an API? API(Application Programming Interface) In software application (app) development, Although API is the middle layer between the presentation (UI) and the database layer. Above all APIs enable communication and data exchange from one software system to another. What is Continue Reading

How to write data-driven framework using Cypress?

Reading Time: 3 minutes In this blog, we will see how to write data-driven framework using Cypress. Cypress is an end-to-end testing framework for web test automation. Therefore, it enables the writing of automated web tests in JavaScript. Here, we will see a data-driven framework using Cypress. The use of JavaScript makes Cypress automation more intuitive. Cypress has been used as a data-driven framework with the help of fixtures. Certainly, Continue Reading

How to implement the Page object model using Cypress?

Reading Time: 3 minutes Let’s discuss, how to implement the page object model using Cypress? To implement the page object model using Cypress we have to understand POM. Page Object Model is a design pattern where the page objects are separated from the automation test scripts. Page object model has been used. The code will be made reusable. Hence, Cypress is having the feature to enable POM. Therefore, In POM we Continue Reading

Navigate back and forward in the browser using Cypress

Reading Time: 3 minutes Hello readers, In this blog, we will learn about how to navigate backward and forward in cypress. Navigation: As the name suggested, navigation can be defined as a way to go forward and backward to the previous or next URL in the browser history. It is the way that helps users or visitors to find content that they want to see. Cypress: Cypress is a Continue Reading

How to Perform Screenshots & Videos in cypress

Reading Time: 2 minutes Hello Readers,In this blog, we will learn about Cypress screenshots and videos & how to take them manually in cypress. Screenshot in cypress- Cypress is a free-open source automation tool that automatically takes screenshots when a test failure occurs during running npx cypress open or cypress run. To manually take a screenshot in cypress, we can use cy.screenshot(). And Screenshots are saved in the screenshot Continue Reading

How to perform Cross-browser Testing with Cypress

Reading Time: 3 minutes Hello Readers,In this blog, we learn about cross-browser testing with cypress. What is Cypress? Cypress is an open-source javascript-based framework for end-to-end testing framework. It is a next-generation front-end testing tool constructed for modern web applications. It works completely on a real browser without the need for driver binaries. Cypress runs on the NodeJS server. It provides us a visual interface to indicate all tests Continue Reading

CRUD Operations & How to perform them with Cypress

Reading Time: 3 minutes Hello Readers, In this blog, we will learn how to perform CRUD Operations with cypress. Let’s start. What is Cypress? Cypress is an end-to-end testing framework for web test automation. It enables developers to write automated web tests in Javascript. It is easy to use and learn which makes it perfect for end-to-end testing. Many big companies like Alibaba Travels, CircleCI uses cypress. CRUD Operations Continue Reading

Cypress – Dashboard features and Reporting.

Reading Time: 5 minutes Hi folks, In this blog, we will learn about the cypress dashboard specifically and will explore its features. On top of that, we learn how to generate a shareable HTML report for test in cypress. So, let’s get going. What is Cypress Dashboard? The Cypress Dashboard Service is an optional web-based companion to our cypress test runner. It basically, provides a timely, simple and powerful Continue Reading