A few days back while
browsing I just saw an article stating that Cypress.io is a killer for Selenium? I
just wonder at the same time I had the curiosity to explore how and why.
So I decided to explore cypress.io by myself
and below are some similarities and differences I found between the two.
Functionality
|
Selenium
|
Cypress.io
|
Programming language supported
|
C#, Java, Perl,
PHP, Python, and Ruby
|
JavaScript
|
Browser supported
|
All
|
Only Chrome
|
BDD Support
|
Yes
|
No
|
Locator
Strategies
|
Support all type
of locator for a normal web application.
|
CSS and Xpath
|
Testing Framework
Supported
|
Junit and TestNG
|
Mocha and Chai
|
Support for
Parallel/Cross Testing
|
Yes (Support for
multiple class file simultaneously)
|
No
|
Support for Cloud
Testing
|
Yes
|
No
|
Data Driven
support
|
Yes using
excel/json/CSV
|
No
|
Reporting
|
Allure, Extent
and all other dashboards can be easily integrated
|
Only Cypress Native
Dashboard
|
Support for CI
and Docker
|
Yes
|
Yes
|
In Nutshell I think
cypress.io is still at a very early stage and it will take some time for it to compete with
selenium.
Please Note all views
expressed in this article are my personal views.
Ankur Jain, Here is an update. Cypress do have plugin for BDD implementation named as 'cypress-cucumber-preprocessor'
ReplyAnkur Jain, Here is an update. Cypress do have plugin for BDD implementation named as 'cypress-cucumber-preprocessor'
ReplyPlus Cypress support for data driven test data approach using fixtures here at doc https://docs.cypress.io/api/commands/fixture.html
ReplyCypress community developed and modern + Smart way for Modern Stack,
ReplyThings have changed a lot now in Cypress and it almost ticks every box in today's time.
Reply