Skip to main content

Posts

Showing posts from November, 2019

Cypress (yet another) Selenium WebDriver killer

There is no perfect tool, there are tools which satisfy specific requirements and Cypress is one such tool. I have not used Cypress and my assessment on this post is limited to information I have gathered reading about Cypress. Cypress appeared to me Selenium Remote Control (aka Selenium 1) repackaged with Chrome browser at it target. Cypress target audience is different than of Selenium's, let's see what requirements they cater to. Cypress target audience seems to be front-end developer. Its power lies in being able to test front end without having real back end or a mocked backend. Selenium's power lies in its integration capability with various other tools and APIs. Imagine testing on staging system which requires java based API to be invoked to create customer account following which using WebDriver to login to frontend and creating a transaction following which data base assertion to verify transaction attributes. Not all of these operations can be carried out using