Complete Test Automation Using Playwright and TypeScript – Live Training
This course offers a complete guide to using Playwright with TypeScript for test automation. You will learn to set up your environment, navigate web pages, and handle UI elements. The course covers advanced topics like the Page Object Model, data-driven testing, and API testing. Additionally, you’ll learn to integrate Playwright with CI/CD pipelines and generate custom reports, preparing you for real-world test automation challenges.
About the Instructor:
With over 17 years of extensive IT experience, I have evolved from a Software Developer to a Functional Tester, Automation Test Engineer, and Associate Test Architect. Known for efficient project delivery, team leadership, and mentoring, I bring a rich background in both automation and manual testing, supported by strong analytical and communication skills. I have conducted numerous corporate, online, and offline training sessions, and have successfully trained more than 500 students. |
Sample Videos:
“Playwright and TypeScript: A Complete Guide to Test Automation”-Live Training Demo Video:
“Playwright and TypeScript: A Complete Guide to Test Automation”-Live Training Day-1 Video
Live Sessions Price:
For LIVE sessions – Offer price after discount is 199 USD 109 99 USD Or USD13000 INR 8900 INR 6900 Rupees.
OR
What will I Learn by the end of this course?
- Configuring Robust Testing Environments: Set up and configure efficient environments for web testing using Playwright and TypeScript.
- Navigating and Interacting with Web Pages: Master techniques for interacting with dynamic content, forms, and complex UI elements.
- Designing and Implementing Page Object Models (POM): Learn how to design and implement efficient Page Object Models to streamline your test automation.
- Writing and Managing Test Suites: Gain skills in writing, executing, and maintaining comprehensive test suites, including data-driven and cross-browser testing.
- Generating Interactive Test Reports: Learn how to generate detailed, interactive test reports and use them for debugging and improving test quality.
- Integrating with CI/CD Pipelines: Integrate your automated tests into CI/CD pipelines for seamless continuous testing and deployment.
- Debugging and Troubleshooting Tests: Utilize Playwright’s robust debugging tools and techniques to efficiently troubleshoot and resolve issues.
- Best Practices for Test Code: Learn best practices for writing scalable, maintainable, and reusable test code.
- Managing Test Data and Agile Integration: Gain hands-on experience with managing test data and incorporating test automation into Agile workflows.
- Interview Preparation: Be ready for interviews by mastering skills and concepts that are in demand in the industry.
This course ensures you gain practical, in-depth knowledge to confidently build, manage, and optimize test automation frameworks from scratch.
Free Day 1 Session Timings:
3rd January @ 9 PM – 10 PM (IST) (Indian Timings)
3rd January @ 10:30 AM – 11:30 AM (EST) (U.S Timings)
3rd January @ 3:30 PM – 4:30 PM (BST) (UK Timings)
Class Schedule:
Monday to Friday @ 9 PM – 10 PM (IST) (Indian Timings)/
Monday to Friday @ 10:30 AM – 11:30 AM (EST) (U.S Timings)/
Monday to Friday @ 3:30 PM – 4:30 PM (BST) (UK Timings)
Who can enroll for this course?
- Automation testers looking to enhance their skills in web automation, particularly those working or aspiring to work in the BFSI domain.
- Software developers interested in incorporating automated testing into their workflow to improve product quality and efficiency.
- Quality assurance professionals seeking to deepen their understanding of modern testing tools and methodologies.
- Students or recent graduates aiming to build a strong foundation in automation testing for career advancement opportunities.
- Individuals with prior experience in Selenium, UFT, or API testing who wish to expand their knowledge and expertise to include Playwright.
- Teams or organizations keen on upskilling their members in cutting-edge web automation techniques to stay competitive in the rapidly evolving tech landscape.
Salient Features:
- Approximately 25 Hours of Live Training
- Every session gets recorded and lifetime access to these videos will be given.
- Course Completion Certificate
Course syllabus:
1: Basics of TypeScript – (Approx. 6 Hours)
- Introduction to TypeScript: Understanding what TypeScript is and why it is used in modern development.
- Key Differences from JavaScript: Explore features like static typing, transpilation to JavaScript, strong typing, and enhanced code maintainability.
- Setting Up the TypeScript Environment: Step-by-step guide to installing TypeScript and configuring a development environment.
- Variable Declarations: Learn about type annotations, type inference, and best practices for declaring variables in TypeScript.
- Type Aliases and Union Types: Simplify and manage multiple types with type aliases and unions.
- Variable Scoping: Understand the scoping rules for variables, including var, let, and const in TypeScript.
- Identifiers and Keywords: Overview of naming conventions and reserved keywords in TypeScript.
- Data Types: Explore the various data types supported in TypeScript, including primitive and complex types.
- Functions, Interfaces, and Classes: Dive into creating reusable functions, defining interfaces, and building classes with TypeScript.
- Working with Arrays: Learn array manipulation techniques and type-safe operations in TypeScript.
- De-structuring: Simplify data extraction with array and object destructuring in TypeScript.
2: Introduction to Playwright – (Approx. 1 Hour)
- What is Playwright?: A comprehensive introduction to Playwright, its purpose, and its significance in web automation.
- Comparison of Architectures: Selenium vs. Cypress vs. Playwright: Analyze the architectural differences and unique strengths of these popular automation tools.
- Understanding Protocols: HTTPS vs. WebSocket: A closer look at the protocols used in browser automation and how they impact performance and reliability.
- Choosing the Right Automation Tool: Key factors to consider when selecting an automation tool based on project needs and team expertise.
- Tool Comparison Case Study: Real-world example highlighting scenario where Playwright, Selenium, or Cypress excels to determine the best fit.
3: Getting Started with VS Code and Playwright – (Approx. 3 Hours)
- Prerequisites and Setup: Understand the system requirements and steps to install and configure Playwright for your project.
- Running Your First Playwright Test: A hands-on guide to creating and executing your first automated test using Playwright.
- Launching the Browser: Learn how to initialize and manage browser instances in Playwright.
- Core Concepts: Browser, Page, and Page Context: Explore the structure of browser sessions and the relationship between browser, pages, and contexts in Playwright.
- Recording Tests: Utilize Playwright’s test recorder to capture user interactions and generate test scripts.
- Assertions in Playwright: Learn how to validate application behavior using Playwright’s powerful assertion library.
- Reports, Screenshots, and Videos: Generate detailed test reports and capture screenshots and videos for enhanced test visibility.
- Debugging and Troubleshooting: Best practices and tools for identifying and fixing issues in your Playwright tests.
4: Handling UI Elements in Playwright – (Approx. 5 Hours)
- Managing Alerts: Interact with and handle browser alerts, confirms, and prompts effectively.
- Working with Dropdowns: Select and manage options in dropdown menus using Playwright.
- Handling Frames: Navigate and interact with elements inside iframes seamlessly.
- Managing Multiple Windows and Tabs: Work with multiple browser windows or tabs in your automation scripts.
- Interacting with Date Pickers: Automate selection and input for date pickers in various formats.
- Working with Web Tables: Extract, validate, and manipulate data in dynamic web tables.
- File Uploads and Downloads: Automate file upload processes and handle downloads efficiently.
5: POM and Advanced Interactions in Playwright – (Approx. 2 Hours)
- Introduction to the Page Object Model (POM): Understand the concept and benefits of using the Page Object Model in TypeScript for test automation.
- Building Page Objects: Learn how to design and create reusable page object classes to streamline test scripts.
- Implementing POM with Playwright and TypeScript: Step-by-step guide to integrating the Page Object Model in Playwright test automation projects.
- Understanding Playwright Hooks: Learn about lifecycle hooks in Playwright, such as beforeEach, afterEach, and their role in test setup and teardown.
- Page Fixture: Explore the concept of page fixtures and how they simplify test code by managing shared page instances.
- Parallel Test Execution: Enable and configure parallelism in Playwright to run tests concurrently, improving efficiency and reducing execution time.
6: Dynamic Data Handling: Data-Driven Testing in Playwright – (Approx. 2 Hours)
- Overview of Data-Driven Testing: Understand the principles and benefits of using dynamic data in test automation.
- Working with CSV Files: Learn how to read and utilize test data from CSV files in Playwright.
- Using JSON for Test Data: Explore strategies to manage and retrieve test data from JSON files effectively.
- Implementing Data-Driven Tests in Playwright: Step-by-step approach to creating data-driven test cases with Playwright and TypeScript.
7: API Testing with Playwright – (Approx. 2 Hours)
- Introduction to API Testing: Understand the fundamentals of API testing, its importance, and how it complements UI testing.
- Creating and Implementing API Tests with Playwright: Step-by-step guide to automating API tests using Playwright’s built-in capabilities.
8: Integrating Allure Reports with Playwright – (Approx. 1 Hour)
- Introduction to Allure Reports: Learn about Allure as a powerful reporting tool and its benefits for visualizing test results.
- Setting Up Allure Reports in Playwright: A step-by-step guide to integrating Allure with Playwright for enhanced test reporting.
- Generating and Customizing Allure Reports: Learn how to generate, configure, and customize Allure reports to suit your testing needs.
9: Integrating BDD with Playwright Using Cucumber – (Approx. 2 Hours)
- Setting Up Cucumber with Playwright: A comprehensive guide to configuring Playwright for Behavior-Driven Development (BDD) with Cucumber.
- Creating Feature Files and Step Definitions: Learn how to write feature files, define corresponding step definitions, and integrate them with Playwright tests.
- Configuring Cucumber for Playwright: Steps to configure and optimize Cucumber for use with Playwright in BDD testing.
- Generating Cucumber Reports: Learn how to generate detailed, actionable test reports using Cucumber with Playwright.
10: CI/CD with Git – (Approx. 1 Hour)
- Understanding CI/CD Concepts: Learn the principles of Continuous Integration (CI) and Continuous Deployment (CD), and how they enhance software development workflows.
- Creating a Repository on GitHub: Step-by-step guide to creating and managing a GitHub repository for your project.
- Basic GitHub Commands: Familiarize yourself with essential GitHub commands for version control and collaboration.
- GitHub Integration and Running Tests with GitHub Actions: Learn how to integrate GitHub Actions for automating test execution within your CI/CD pipeline.
- Benefits of CI/CD for Unit Testing and Deployment: Understand how CI/CD can streamline unit testing and facilitate continuous deployment.
Live Sessions Price:
Call or Whatsapp Kumar gupta @ +91-9133190573
OR
For LIVE sessions – Offer price after discount is 199 USD 109 99 USD Or USD13000 INR 8900 INR 6900 Rupees.