Course Code:
bspcyatt
Duration:
14 hours
Prerequisites:
- Basic Understanding of any Automation tool helps but NOT mandatory requirement
- Basic understanding of JavaScript will be helpful
Overview:
**What will you learn?**
- How to set up and configure Cypress?
- How to build locators for any Web Elements using powerful jQuery Selector Engine built-in Cypress
- How to interact and automate any kind of web components
- What is API. How to interact with APIs, mock API response and make assertions. Also, how to create test data precondition using API calls and Headless user authentication
- How to organize and reuse code with Page Object design pattern
- How to configure multiple custom reporters, retry logic for failed tests and run tests
- Parallel test execution, Cross Browser
- Integration with CI/CD Tool like Jenkins
Course Outline:
UI Automation
- Introduction to automation testing
- Introduction to Cypress tool
- Cypress Installation and Project Setup
- JavaScript Basics required for automation testing
- Cypress Test runner features
- Command line arguments for Cypress
- Cypress Basic Commands for Automation
- Cypress & Jquery combination
- Handling Web controls UI using Cypress
- UI Automation (Checkboxes, Radio buttons, Edit boxes, Dropdowns with Cypress)
- Handling Popups, Alerts using Cypress
- Handling Child windows and Frames with Cypress
- Cypress Assertions in detail
- Cypress Framework Development and best practices
- Cypress Fixtures and Custom commands
- Design patterns - Page object Design pattern with Cypress tests
- Data-Driven Testing and Test parameterization
- Taking screenshots
- Generating reports
- Generating logs
API Testing
- Introduction to API
- What is REST API?
- What is API Testing?
- Why API Testing is important?
- What are CRUD Operations?
- HTTP Method
- Status code
- Test Application Setup
- Sending GET Request
- Sending GET Request with Query Parameters
- Sending Accept and Content-Type headers
- Deserializing Response
- Serializing JSON Request payload and sending POST Request
- Sending PUT Request
- Sending PATCH Request
- Sending DELETE Request
- Basic Authorization with Azure DevOps APIs
- OAuth2.0 Authorization using Spotify application
- Integration with CI/CD tools like Jenkins