Is it reasonable to use selenium and cypress together? I am not a QA so I am not very knowledgeable about testing. However, I know that these are both automation frameworks. I found a job listing asking for a QA with selenium and cypress, does that combination make sense?
My train of thought would be, it's the equivalent of using Spring and .Net in the same role. This is where I am confused because that is an unlikely occurrence.
CodePudding user response:
I am also somewhat new to testing, but my initial assumption would be that since Cypress is newer it might be a position where you'll be deal with them going through a transitional phase from one to the other.
It might also be related to the limitations each one possesses, Cypress for example:
- One cannot use Cypress to drive two browsers at the same time
- It doesn’t provide support for multi-tabs
- Cypress only supports JavaScript for creating test cases
- Cypress doesn’t provide support for browsers like Safari and IE at the moment.
Selenium:
- No built-in command for automatic generation of test results
- Handling page load or element load is difficult
- Limited support for testing images
- Creating test cases is time-consuming
- Difficult to set up test environment as compared to Cypress
So if this job listing is one that would work on multiple projects, you might need to test each project differently and Cypress or Selenium might be a better automation tool depending on what's being tested.