1). Introduction
- Introducing Selenium
- Brief History of The Selenium Project
- Selenium’s Tool Suite
- Choosing Your Selenium Tool
- Supported Browsers and Platforms
- Test Automation for Web Applications
- To Automate or Not to Automate?
- Flexibility and Extensibility
- What’s in this Book?
- The Documentation Team–Authors Past and Present
2). Selenium-IDE
- Introduction
- Installing the IDE
- Opening the IDE
- IDE Features
- Building Test Cases
- Running Test Cases
- Using Base URL to Run Test Cases in Different Domains
- Selenium Commands
- Script Syntax
- Test Suites
- Commonly Used Selenium Commands
- Verifying Page Elements
- Assertion or Verification?
- Locating Elements
- Matching Text Patterns
- The “AndWait” Commands
- The waitFor Commands in AJAX applications
- Sequence of Evaluation and Flow Control
- Store Commands and Selenium Variables
- JavaScript and Selenium Parameters
- echo – The Selenium Print Command
- Alerts, Popup, and Multiple Windows
- Debugging
- Writing a Test Suite
- User Extensions
- Format
- Executing Selenium-IDE Tests on Different Browsers
- Troubleshooting
3). Selenium 2.0 andWebDriver
- Selenium 2.0 Features
- The Selenium Server
- Setting Up a Selenium-Web Driver Project
- Migrating from Selenium 1.0
- Getting Started With Selenium-Web Driver
- Introducing Web Driver’s Drivers
- Commands and Operation
- Driver Specifics and Tradeoffs
- Web Driver-Backed Selenium-RC
- Selenium Web Driver Wiki
- Next Steps
4). Selenium RC
- Introduction
- How Selenium RC Works
- Installation
- From Selenium to a Program
- Programming Your Test
- Learning the API
- 6.7 Reporting Results
- 6.8 Adding Some Spice to Your Tests
- 6.9 Server Options
- 6.10 Specifying the Path to a Specific Browser
- 6.11 Selenium RC Architecture
- 6.12 Handling HTTPS and Security Popup
- 6.13 Supporting Additional Browsers and Browser Configurations
- 6.14 Troubleshooting Common Problems
5). Validation
- Selenium-Grid
6). User-Extensions
- Introduction
- Accessors/Assertions
- Actions
- Locator Strategies Using User-Extensions With Selenium-IDE
- Using User-Extensions With Selenium RC
7). Selenium 1.0 Java Client Driver Configuration 7
- Configuring Selenium-RC With Eclipse
- Useful XPATH patterns