Duration
4 days
Objective
- To understand Cypress Framework fundamentals
- To understand Cypress Library Usage
- To understand Interacting with diff. Elements
- To understand Cypress & Cucumber integration
- To understand Cypress & Jenkins Integration
Mandatory Pre-Requisites
- Software Testing Concepts
- CSS & Xpath Concepts
Optional Pre-requisites
- Java Language fundamentals
- Selenium WebDriver Intermediate level knowledge
Batch-Size
Max. 15 attendees
Mandatory Lab-Setup details
- Windows 8 or later
- 8 GB RAM or more
- MSOffice
- WinZip / 7-Zip
- Acrobat Reader
- Chrome Browser (latest version)
- Edge Browser
- Firefox Browser (latest Version)
- Node.js with npm (64 bit)
- Microsoft Visual Code (IDE) (64 bit)
Outline
Day-1
- Introduction to Cypress
- Configuring System with Cypress
- Creating Package.json
- Installing Cypress
- Installing Cypress-Xpath
- Installing TypeScript
- Configuring IDE with TypeScript
- Creating tsconfig.json
- Creating a simple Spec File using JS
- Creating a simple Spec File using TS
- Working with UI & Console based Test Runner
- Running all in headless mode
- Running all in headed mode
- Running all in specified browser
- Running a specific spec files
- Running without video recording
- Interacting with UI Elements - Part-1
- How to add "force:true"
Day-2
- Finding element using contains() method
- Diff. between get() & find() method
- Retrieving text from element using Promise (then())
- Retrieving all child and traversing using Promise
- Retrieving ith element
- Working with Cypress Variables
- Working with Alias
- Triggering other actions
- Implicit & Explicit Assertions
- Using Cypress Wrap() method
- Cypress Hooks
- Cypress Fixture
- Viewport Simulation
Day-3
- Custom Commands in Cypress
- Environment Variables
- File Upload via external library
- File Download via external library
- Handling Browser Popups
- Working with Frames
- Handling Alerts
- Page Object Models in Cypress
Day-4
- Data Driven Testing
- API Testing with Cypress
- Cucumber Integration with Cypress
- Mocha JUnit Html Reporting
- Parallel Execution of Cypress Tests / Feature files
- Running Cypress from Jenkins
Programme scope, delivery arrangements and suitability are confirmed during enquiry.