Course Objectives
In this 3-day training course 'Playwright - Effective End-to-End Testing' you will gain comprehensive knowledge and practical skills to perform automated end-to-end testing of web applications using Playwright. You will learn how to write reliable and powerful tests to check the functionality, usability and performance of your web applications. The focus is on giving you the tools you need to develop high-quality software and reduce development time through efficient testing.
Target Audience
- Web developers
- Software testers
Prerequisite knowledge
- Basic knowledge of web development (HTML, CSS, JavaScript, TypeScript)
- Basic knowledge of test automation and web application testing
- Experience of JavaScript or other programming languages is an advantage, but not essential
Learning Methodology
The course offers you a balanced mix of theory and practice in a world-class learning environment. You will benefit from direct interaction with our project experienced trainers and other participants to maximise your learning.
Agenda
- How does end-to-end testing work?
- What are the benefits of e2e testing?
- Which browsers can be tested?
- What can be tested?
- Installing Playwright for Angular
- Configuration steps
- Test Runner View
- Browser selection
- Headless testing
- Folder structures
- Test design
- Running tests
- Using Watcher
- Debugging tests
- Calling URLs
- Interacting with the DOM tree
- Sending events to the browser
- Reading website content
- Making assertions
- Filling in fields
- Reading results
- Multi-page forms
- Parameter passing/dependencies
- Writing tests
- Reading results
- Creating screenshots
- Video recording tests
- Spies and stubs
- Backend stub
- Test network requests