PLW-PYTHON
New Test Automation Using Playwright in Python
Description
The course provides a detailed introduction to using the Playwright testing environment with the Python programming language. It demonstrates how to test websites with automated tests, write Playwright test cases, and perform various actions such as opening websites, verifying content, filling out forms, etc. The training is use-case driven, focusing on the most common tasks and providing comprehensive solutions for them.
Suggested For
The course is aimed at testers and developers who want to expand their automated testing knowledge, seek an alternative alongside their existing automated tests, or want to extend them.
Outline
Technological Introduction
- Building web applications
- URL/HTTP protocol
- Concepts of HTML, CSS, JavaScript
- Structure of an HTML document
- DOM, navigating with XPath in the DOM
Introduction to Playwright Platform
- About the Playwright technology in general
- Testing a simple page
- Introduction to headed and headless modes
- Test file structure
- Launching the browser
- Opening a page
- Retrieving DOM elements, locators (ID, XPath, Name, Tag name)
- Clicking on a link
- Filling text fields
- Handling buttons
- Submitting forms
- More complex form elements: n
Prerequisites
Basic algorithms, programming fundamentals (variables, functions, parameters, return values, control structures - branching, loops) knowledge in any programming language.
Since some of the course materials are in English, basic-level English proficiency (document reading) is required. The lecture is in Hungarian, based on Hungarian-language slides.