Automation is the process of using software tools and scripts to perform tasks that would typically be done manually by a human. In the context of software testing, automation involves using tools to execute test cases and compare the actual results with the expected results automatically.
There are several reasons why you should use Cypress for web automation:
Fast and efficient: Cypress is built on a unique architecture that allows it to execute tests in the same run loop as the application being tested. This means that tests run faster and more efficiently than with other testing frameworks.
Real-time testing: Cypress provides a real-time view of your application as it runs, making it easy to debug issues as they arise.
Automatic waiting: Cypress automatically waits for the DOM elements to become available before interacting with them. This eliminates the need for explicit waits and reduces the likelihood of flaky tests.
Easy setup: Cypress has a simple and intuitive setup process. You can get up and running with Cypress quickly and easily.
Powerful API: Cypress provides a powerful API for interacting with your application. You can easily simulate user interactions, make HTTP requests, and interact with the DOM.
Continuous Integration: Cypress can be easily integrated with Continuous Integration (CI) tools like Jenkins, CircleCI, and TravisCI. This allows you to automate your testing process and catch issues before they make it to production.
Overall, Cypress is a powerful and efficient tool for web automation that can help you to test your application more effectively and catch issues early in the development process.
- Cypress
- Visual Studio Code
- Javascript
- cypress-mochawesome-reporter
-
Clone this project
-
First install dependencies:
npm install
-
Then run the test:
npx cypress run
- Visit https://katalon-demo-cura.herokuapp.com/
- Login
- Make an appointment
- Facility - Seoul CURA Healthcare Center
- Check on "Apply for hospital readmission"
- Healthcare Program - Medicaid
- Select a visiting date
- Add a comment
- Book an Appointment
- Verify the appointment
- User Login with valid credential.
- User makes an appointment.