Debomita Bhattacharjee has Published 863 Articles

Handling with only visible elements in Cypress

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:55:18

1K+ Views

After a test case is run on Cypress, we need to debug and understand the logs in case of a failure. Cypress has the feature to provide information to the user on what incident took place before and after the failure had happened.The above screenshots show a full log of ... Read More

Understanding Assertions Cypress

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:53:15

621 Views

Cypress has a list of common assertions that can be applied to any element on the browser. Assertions are the checkpoints that confirm if a test step of the automated test case passed or failed. Thus it checks the expected state of the application under test.Cypress bundles the Chai, JQuery ... Read More

Cypress plugin for locators

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:52:19

654 Views

Apart from the css selector that Cypress uses for unique identification of elements, there is a Cypress plugin which automatically provides the css for each element. This plugin is called Open Selector Playground and comes with the Cypress Test Runner.This plugin appears in the left upper section of the Test ... Read More

Various Locators in Cypress

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:48:18

531 Views

Cypress has to identify elements on the page to perform actions on them. The unique identification of the elements is done in Cypress with the help of jQuery selectors which is basically derived from css selectors.Other automation tools like Selenium supports locators like id, name, classname, link text, partial link ... Read More

Running Cypress in supported Browsers

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:41:50

203 Views

Cypress supports Chrome, Firefox, Microsoft Edge and Electron browsers for running the test cases. Cypress automatically bundles the Electron browser once we download it in our machines.The browsers get updated with newer versions regularly. To match with this, Cypress also fixes issues in the latest versions of the released browsers. ... Read More

Building Basic Test in Cypress

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:40:04

409 Views

Once Cypress installation is done and the test runner is successfully set up we shall create a JavaScript file under the examples folder. This comes under the integration folder provided by the Cypress framework template.In order to create a Cypress test, we need to follow any of the Javascript testing ... Read More

Cypress Test Runner (Test Automation)

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:39:04

911 Views

Cypress Test Runner is one of the important features in this tool. A test runner is basically the entry to start any test case execution with Cypress. While executing each step in our test case Cypress allows us to monitor the running of the commands on the application under test.As ... Read More

Cypress Installation (Test Automation)

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:36:52

677 Views

To do Cypress installation, first of all we need to download Node as to work with the Javascript tool we need to have Node in our system.Next we need to visit the official website − https://nodejs.org/en/download/ and download as per system requirements.For a windows system, we just need to proceed ... Read More

Cypress Architecture (Test Automation)

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:30:53

5K+ Views

A cypress architecture is described in the below diagram.Majority of the automation testing tools like Selenium perform by executing from outside the browser and running remote commands through the network. Cypress has a different functionality altogether.Cypress is sitting on the browser itself. In the background of Cypress, there exists the ... Read More

What is Cypress for Test Automation?

Debomita Bhattacharjee

Debomita Bhattacharjee

Updated on 05-Aug-2020 11:29:30

1K+ Views

Cypress is the future tool for testing front end modern web applications. It aims to overcome the hurdles that the engineers and developers face while testing web applications based on React and AngularJS. It is a quick, effortless and dependable tool for testing any applications that run on browsers.Cypress is ... Read More

Advertisements