Python testing with Selenium : learn to implement different testing techniques using the Selenium Webdriver /
Implement different testing techniques using Selenium WebDriver with the Python programming language. This quick reference provides simple functional test cases with a syntax-based approach for Selenium WebDriver. You'll begin by reviewing the basics of Selenium WebDriver and its architectural...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
New York, NY :
Apress Media LLC,
[2021]
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro
- Table of Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Introduction to Selenium
- What Is Selenium?
- Selenium Tools and Versions
- Selenium RC (Remote Control)
- Selenium IDE
- Selenium Grid
- Selenium WebDriver
- Selenium 2.0
- Selenium 3.0
- Selenium WebDriver Architecture
- Client Library
- JSON Wire Protocol
- Web Drivers
- Web Browsers
- Why Selenium?
- Open Source
- Platforms
- Language Support
- Browser
- Reuse
- Easy Implementation
- Flexible
- Hardware Resources
- Simulation
- Other Testing Tools
- Integrating Python with Selenium
- Summary
- Chapter 2: Getting Started
- Installing Python
- Installing Selenium
- Installing Drivers
- Browser Commands
- Opening a Web Browser
- Mozilla Firefox
- Google Chrome
- Microsoft Edge
- Internet Explorer
- Closing a Browser
- Quit Browser
- Opening a Web Page
- Open a Page Online
- Open a Page Offline
- Setting the Browser Size
- Maximize
- Fullscreen
- Setting the Size
- Setting the Browser Position
- Setting the Size Using Coordinates
- Getting the Browser Position
- Getting the Window Size
- Navigation Commands
- Back
- Forward
- Refresh
- Running a Python Test Case
- Summary
- Chapter 3: Mouse and Keyboard Actions
- Action Chains
- Mouse
- Click
- Click and Hold
- Context Click
- Double Click
- Move to an Element
- Move Offset
- Drag and Drop
- Drag and Drop By
- Release
- Keyboard Actions
- Key Down
- Key Up
- Send Keys
- Send Keys to Element
- Pause
- Reset
- Summary
- Chapter 4: Web Elements
- Elements/Web Elements
- Web Locators
- Locating Elements
- ID Locator
- Name Locator
- XPath Locator
- Nodes
- Parents
- Children
- Siblings
- Atomic Values
- XPath Methods
- Child
- Parent
- Self-Axis
- Ancestor
- Ancestor-or-Self
- Descendant
- Descendant or Self
- Following
- Following Sibling
- Preceding
- Preceding Sibling
- Attribute
- Namespace
- Node Example
- XPath Locator Types
- Absolute Path
- Relative Path
- XPath with Logical Operators
- AND
- OR
- Types of XPath Functions
- contains()
- text()
- starts-with()
- CSS Selectors
- ID
- Class
- Substring Match Cases
- Inner Text
- CSS Selector for Multiple Attributes
- CSS Selector for Child Elements
- Link Locator
- Partial Link Locator
- Tag Name
- Class Name
- Locating Multiple Web Elements
- Locator Issues
- Attribute Change
- No Web Element
- Web Element Not Visible
- Test Case Mismatch
- iframe Web Element
- Summary
- Chapter 5: Navigation
- Hyperlinks
- Testing Hyperlinks
- Hyperlink by ID
- Hyperlink by Text
- Hyperlink by Partial Link
- Hyperlink by XPath
- Nth Hyperlink
- Return All Hyperlinks
- Check for a Valid Hyperlink
- Check for Broken Images
- Data Attributes Hyperlink
- Summary
- Chapter 6: Buttons
- Default Button
- Select
- Select by ID
- By Text
- By Name
- Submit/Form Button