Java testing with Selenium a comprehensive syntax guide for automation

and elevating Selenium automation through TestNG's structured frameworks, data utilization, and parallel processing Who This Book For Software testers, quality assurance professionals, and developers interested in mastering automated testing with Selenium and Java. Suitable for various experien...

Full description

Bibliographic Details
Main Author: Raghavendra, Sujay
Format: eBook
Language:English
Published: Berkeley, CA Apress L. P. 2024
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Table of Contents:
  • Step 3: Add Selenium JARs to the Project
  • Step 4: Verify Installation
  • Step 5: Run the Test Script
  • Browser Commands
  • Opening a Selenium WebDriver Using Java Code
  • Opening a Web Page Online or Offline
  • Online Web Pages
  • Offline Web Pages
  • Understanding close and quit Commands
  • close Command
  • quit Command
  • Setting up Browser Size
  • Maximizing the Browser Window
  • Minimizing the Browser Window
  • Setting a Specific Browser Window Size
  • Using Full-screen Mode
  • Setting the Browser Position with Selenium WebDriver
  • Setting the Size Using Coordinates
  • Setting up Java on Your Machine
  • Step 1: Download the Java Development Kit (JDK)
  • Step 2: Install the JDK
  • Step 3: Set Environment Variables
  • Step 4: Verify the Installation
  • Step 5: Update When Necessary
  • Installing Eclipse IDE
  • Step 1: Download Eclipse
  • Step 2: Run the Eclipse Installer
  • Step 3: Install Eclipse
  • Step 4: Complete the Installation
  • Step 5: Launch Eclipse
  • Step 6: Configure Eclipse (Optional)
  • Step 7: Create a Java Project to Test
  • Selenium Installation
  • Step 1: Download Selenium WebDriver
  • Step 2: Create a New Java Project in Eclipse
  • Intro
  • Table of Contents
  • About the Author
  • About the Technical Reviewer
  • Acknowledgments
  • Introduction
  • Chapter 1: Introduction to Selenium: Java Automation
  • Introduction
  • The Need for Testing Application
  • What Is Selenium?
  • Development and History of Selenium
  • The Genesis and Early Development (2004-2006)
  • The Birth of Selenium
  • Selenium Remote Control (RC)
  • Expanding Horizons (2006-2011)
  • Selenium IDE
  • The Introduction of WebDriver
  • Selenium 2.0: A Major Milestone
  • Maturing and Expanding (2011-2018)
  • The Advent of Selenium 3.0
  • Growth of the Selenium Ecosystem
  • The Modern Era of Selenium (2018-Present)
  • Selenium 4.0: The Future Realized
  • Why Selenium? Unraveling the Strengths of Selenium in Web Testing
  • Open Source Advantage
  • Language and Framework Flexibility
  • Cross-Browser and Cross-Platform Testing
  • Advanced Capabilities for Complex Test Scenarios
  • Community and Continuous Evolution
  • Selenium Architecture
  • Core Components
  • Automation Tool Comparison: Selenium and Alternatives
  • Java: Selenium's Preferred Language
  • Summary
  • Chapter 2: Selenium Essentials: Setup and Browser Commands
  • Getting the Browser Position
  • Getting the Window Size
  • Navigating Through Web Pages with Selenium WebDriver
  • Navigating Back
  • Navigating Forward
  • Refreshing the Page
  • Summary
  • Chapter 3: Mouse and Keyboard Actions
  • Action Chains
  • Mouse Actions
  • Click
  • Double Click
  • Context Click
  • Click and Hold
  • Perform
  • Pause
  • Release
  • Reset
  • Mouse Movements
  • Move to Element
  • Move by Offset
  • Offset from Element
  • Offset from Viewport
  • Offset from Current Pointer Location
  • Drag and Drop on Element
  • Drag and Drop by Offset
  • Keyboard Actions
  • Keys
  • Key Down