Автор: Boni Garcia
Издательство: O’Reilly Media, Inc.
Год: 2021-08-20
Страниц: 131
Язык: английский
Формат: pdf, epub
Размер: 10.17 MB
Get started with Selenium WebDriver, the open source library for automating tests to ensure your web application performs as expected. In this practical hands-on book, author Boni Garcia takes Java developers through Selenium's main features for automating web navigation, browser manipulation, web element interaction, and more, with ready-to-be-executed test examples.
You'll start by learning the core features of the Selenium framework (composed by WebDriver, Grid, and IDE) and its ecosystem. Discover why Selenium is the de facto framework for developing end-to-end tests on your web application. You'll explore ways to use advanced Selenium WebDriver features, including using web browsers in Docker containers or the DevTools protocol. Selenium WebDriver examples in this book are available on GitHub.
Why I Wrote This Book:
Test automation is a software testing technique that leverages automation tools to control test execution. It allows increasing the efficiencies and effectiveness while ensuring the overall quality of a software system. In this arena, Selenium is the de-facto standard framework to develop end-to-end tests for web applications. This book provides a complete review of Selenium 4, released in 2021.
Who Should Read This Book:
This book provides a comprehensive summary of the main features of Selenium WebDriver version 4 using Java as language binding. It reviews the main aspects of automated web navigation, browser manipulation, web element interaction, user impersonation, automated driver management, the design pattern “Page Object Model” (POM), remote and cloud infrastructure, integration with Docker, advanced capabilities, and much more. The primary audience of this book includes Java coders: developers, testers, QA engineers, etc. Thus, you need a basic knowledge of the Java language and object-oriented programming. The final goal is to have a comprehensive understanding of the main aspects of Selenium WebDriver to create end-to-end tests using different testing frameworks in Java.
With this book, you'll learn how to:
Set up a Java project containing end-to-end tests that use Selenium WebDriver
Conduct automated interaction with web applications
Use strategies for managing browser-specific capabilities and cross-browser testing
Interact with web forms, manage pop-up messages, and execute jаvascript
Control remote browsers and use advanced browser infrastructure for Selenium WebDriver tests in the cloud
Model web pages using object-oriented classes to ease test maintenance and reduce code duplication
Скачать Hands-on Selenium WebDriver with Java: A Deep Dive into the Development of End-to-End Tests (Early Release)