Selenium fundamentals: speed up your internal testing by automating user interaction with browsers and web applications

There are several challenges while writing automated tests for web applications: selecting an adequate test framework, using appropriate selectors to avoid flaky tests, and building a good testing framework. This book walks you through these challenges and provides you with the knowledge to overcome...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Molina, Diego 1981- (VerfasserIn)
Format: Buch
Sprache:English
Veröffentlicht: Birmingham ; Mumbai Packt [2018]
Schlagworte:
Zusammenfassung:There are several challenges while writing automated tests for web applications: selecting an adequate test framework, using appropriate selectors to avoid flaky tests, and building a good testing framework. This book walks you through these challenges and provides you with the knowledge to overcome hurdles in testing by developing stable and ..
Intro -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Getting Started -- Software Automation -- Going the Automation Way -- Activity: Automation Brainstorming -- Selenium Overview -- The WebDriver API -- The Selenium Server -- Selenium Glossary -- Activity: Selenium Planning -- Environment Configuration -- Browser Drivers -- Downloading and preparing browser drivers -- Maven Project -- Creating a Maven project -- Verifying That the Development Environment Is Ready -- Summary -- WebDriver Functionality -- Instantiating a WebDriver - Chrome -- Creating the Main Structure of Your First Selenium Automation Script -- An Overview of Frequently Used Methods -- Activity: Starting and Finalizing a Script -- Controlling the Browser Window -- Navigation -- Resizing -- Resizing Windows in an Automation Script -- Managing Alerts -- Managing Alerts in an Automation Script -- Managing Frames and iFrames -- Managing Frames in an Automation Script -- Managing Windows -- Managing Windows in an Automation Script -- Activity: Resizing and Moving Windows with a Selenium Automation Script -- Summary -- WebElement Functionality -- Using Browser Developer Tools - Chrome -- Inspecting a Web Page with Chrome Devtools -- Overview of WebElement Functionality -- Handling the StaleElementReferenceException -- Interacting with Elements on a Page -- Interacting with Textboxes and Textareas Elements -- Interacting with Textboxes and Textareas During an Automation Script -- Interacting with Dropdown and Lists -- Interacting with Dropdown and Lists During an Automation Script -- Interacting with Radio Buttons and Radio Button Groups -- Interacting with Radio Buttons and Radio Buttons Groups During an Automation Script -- Interacting with Checkboxes -- Interacting with Checkboxes During an Automation Script
Activity: Filling in a Form and Submitting it -- Element Locator Types - ID, Names, XPath, CSS, and So On -- Activity: Locating Elements -- Summary -- Advanced Element Location -- Navigating the DOM -- Understanding the DOM's Structure -- The Relationship between Selenium and the DOM -- Identifying Elements and Creating Locators for Dom Elements -- Retrieve Information from a Table -- Searching Within Previously Found Elements -- Locating Elements Based on Their Relationships -- Searching for Elements Through Known Elements -- Creating Complex Locators to Reach Any Element -- Common Ways to Use CSS Selectors -- Finding Elements by Using Class Attributes and IDs -- Locating Elements by Their Attributes -- Creating Complex Selectors for Unique Locators -- Activity: Automating Checkout -- Summary -- Waiting for Elements -- Implicit Waits -- Creating an Implicit Wait -- Explicit Waits -- Activity: Creating an Explicit Wait -- Implicit Versus Explicit Waits -- Waiting for an Element with a Custom Written Condition -- Creating Custom Waits for Finding Elements -- Creating a Custom Wait (Waiting for an Element) -- Creating Custom Waits so That an Element's Attribute Values Can Be Updated -- Creating a Custom Wait (Waiting for an Element's Attribute Updates) -- Creating Custom Waits for an Element's Visibility -- Creating a Custom Wait (Waiting for an Element's Visibility) -- Summary -- Page Object Model -- Introduction to the Page Object Model -- Understanding the Architecture of Web Applications -- Applying Web Application Architecture to Test Automation Scripts -- Modeling a Web Application Using Page Objects -- Creating a Page Object -- Creating a Page Object For Age Calculator -- Creating an Automation Script -- Creating an Automation Script for Age Calculator -- Activity: Implementing the POM on a Multi-Page Application
Beschreibung:iv, 196 Seiten Diagramme
ISBN:9781789803815

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand!