Cypress.io

How to do XHR testing with Cypress?

Reading Time: 3 minutes Let’s understand what is XHR? According to Wikipedia, XMLHttpRequest is an API in the form of an object whose methods transfer data between a web browser and a web server. The object is provided by the browser’s JavaScript environment. This is used with protocols other than HTTP. Also, data can be in the form of XML, JSON, HTML, or plain text. Can we achieve XHR Continue Reading

How to do database integration with Cypress?

Reading Time: 2 minutes Cypress is one of those popular tools which has established its place very quickly and is very popular for Web integration and End to End UI test automation. Cypress can do database integration. It needs a javascript framework like jasmine or mocha. These are one of the famous assertion libraries in JavaScript. Cypress recommends using mocha. In this blog, we will see how to do database integration using Cypress. Continue Reading

How to write Cypress test from Test runner?

Reading Time: 3 minutes Cypress is one of those popular tools which has established its place very quickly and is very popular for Web integration and End to End UI test automation. It needs a javascript framework like jasmine or mocha. These are one of the famous assertion libraries in JavaScript. Cypress recommends using mocha. Whenever we are downloading cypress, it automatically bundles mocha. Let’s see How to write the Cypress test from Continue Reading

How to integrate Jenkins with Cypress?

Reading Time: 2 minutes In this blog, we will talk about the Integration of Cypress with Jenkins. Let’s discuss what is Jenkins? Jenkins is an open-source automation server. Similarly, it helps automate the parts of software development. Those are related to building, testing, and deploying. Also, deals with facilitating continuous integration and continuous delivery. Moreover, the main agenda will be to integrate Jenkins with cypress. The topics to be Continue Reading

How to handle web control UI using Cypress?

Reading Time: 3 minutes Hello everyone. In this blog, we will know how to handle control UI using Cypress.What are web controls? Web controls UI are basically HTML elements wrapped. It is easy-to-use scripting tag of ASP+ and provides rich functionality in your FORMs or pages. It ranges from simple text boxes to advance girds and lists. Web control UI fall into five categories: display, input, selection, validation, and special purpose. 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

How To Execute Tests Parallelly using Cypress And GitHub Actions

Reading Time: 3 minutes Hello Readers!!In today’s world when the time is money, it is very important to lower the operational time for various actions. The same goes with test execution. One of the popular ways to achieve execution of more test cases in lesser time is by parallel test execution. Before learning how to execute tests parallelly using Cypress, let’s have a walkthrough of Parallel Test Execution and 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

Cypress with Cucumber

Reading Time: 5 minutes Hi folks, In this blog, we will learn how to have an integrated testing behaviour-driven framework with cypress. We will see how we can integrate cucumber with cypress. So, let’s get started. Why to integrate cucumber with cypress? There are multiple tools to have a BDD framework but the most used BDD tool is cucumber. BDD is a branch of Test Driven Development (TDD). It Continue Reading

Generating Cucumber HTML report – Cypress

Reading Time: 3 minutes Hi folks, In this blog, we will try to explore the reporting feature of the cucumber plugin in Cypress. As a prerequisite, we should have a cypress-cucumber integrated framework already. With this cleared out, let’s move ahead. Approach Firstly, as mentioned we should have the cypress cucumber plugin already configured in our project. The reason is, the plugin, by default, that we are using in Continue Reading

Integration to Jenkins – Cypress

Reading Time: 4 minutes Hi folks, In this blog, we will learn how to integrate Cypress with the Jenkins CI tool. And as an add on, we will learn how to parameterise our test cases for Jenkins jobs as well. So let’s get started. Configuring Jenkins First of all, we need to download Jenkins to our local system. It is recommended that we should download the generic java package Continue Reading

Reading data from excel file – Cypress

Reading Time: 4 minutes Hi folks, In this blog, we will try to learn how to use excel file in cypress, so that we can have a data-driven framework with it. So, without much ado, let’s get started. Approach In cypress, we already have a defined folder structure for placing data files in the project. We mainly have fixtures integration plugins support node_module in our project. Out of these Continue Reading