Advanced Java Test Automation: Practical Web and API Testing

Main Speaker

Learning Tracks

Course ID

42623

Date

26/11/2024

Time

Daily seminar
9:00-16:30

Location

Daniel Hotel, 60 Ramat Yam st. Herzliya

Overview

This seminar is an immersive experience designed for testers and developers looking to implement robust test automation projects. Focusing on real-world scenarios, the seminar covers both web and API (web services) testing using Java. Participants will explore key automation tools and frameworks, including Playwright and REST automation libraries, and learn best practices for building maintainable and scalable test suites.

Who Should Attend

This seminar is ideal for test automation engineers, team leaders, and QA professionals with a background in Java or C#. It is also well-suited for QA managers with hands-on experience who are looking to deepen their knowledge of automation frameworks and implement effective testing strategies for web and API projects.

Prerequisites

Course Contents

Selecting the Right Technology Stack for Automation
  • What are the four layers of an automation project’s technology stack?
  • How to choose the right programming language for your project.
  • What is a test automation framework, and why should you use one?
  • Which peripheral systems should be included in your project?
Mastering Playwright for Automation
  • Understanding the Playwright team’s mission.
  • The rise of Playwright’s popularity.
  • Key features that make Playwright stand out.
  • Test generation and tracing capabilities.
  • Playwright’s modern and feature-rich API.
  • Using selectors effectively in Playwright.
  • Handling browser and network events.
  • Migrating from Selenium to Playwright.
Customizing the Page Object Model
  • What is the Page Object Model, and why is it beneficial?
  • Creating basic page object classes.
  • Navigating between pages.
  • Key considerations for implementing assertions.
  • Page Factory: Pros and cons.
  • Implementing an action bot pattern.
Web Services Testing in Java
  • What are web services?
  • Types of web services (HTTP, REST, SOAP).
  • Codeless automation with Postman and Bruno.
  • Streamlining API testing with Swagger.
  • Testing web services with Java.
  • Representing payloads effectively.
  • Why use Retrofit for service testing?
  • Implementing advanced assertions in API tests.
Mocking Web Services
  • Challenges in Testing Web Services
  • What is API Mocking?
  • Common Tools for API Mocking
  • Setting Up a Simple Mock API
  • Testing with Mock APIs
  • Best Practices for API Mocking
Selenium Grid and Docker
  • Potential issues when executing parallel Web UI tests
  • What is Selenium Grid and how it solves parallel execution issues
  • How Selenium Grid works
  • What is Docker? What are images and containers?
  • How to run Selenium Grid on Docker?
  • Advantages of running Selenium Grid on Docker
 

The conference starts in

Days
Hours
Minutes
Seconds