Contents:
- 
Note to the Reader – Docs Being Revised for Selenium 2.0! 
- 
Introduction 介绍 - 
Test Automation for Web Applications Web应用测试自动化 
- 
To Automate or Not to Automate? 到底要不要做自动化 
- 
Introducing Selenium Selenium介绍 
- 
Brief History of The Selenium Project Selenium的简短历史 
- 
Selenium’s Tool Suite Selenium的工具套件 
- 
Choosing Your Selenium Tool 选择你的 Selenium工具 
- 
Supported Browsers and Platforms 支持的浏览器和平台 
- 
Flexibility and Extensibility 灵活性和可扩展性 
- 
What’s in this Book? 这本书的内容 
- 
The Documentation Team–Authors Past and Present Team-Authors文档的过去和现在 
 
- 
- 
Selenium-IDE - 
Introduction 介绍 
- 
Installing the IDE 安装IDE 
- 
Opening the IDE 打开IDE 
- 
IDE Features IDE的特性 
- 
Building Test Cases 构建测试用例 
- 
Running Test Cases 运行测试用例 
- 
Using Base URL to Run Test Cases in Different Domains 在不同的环境中通过Base URL运行测试用例 
- 
Selenium Commands – “Selenese” Selenium命令–Selenese 
- 
Script Syntax 脚本语法 
- 
Test Suites 测试套件 
- 
Commonly Used Selenium Commands 通用的Selenium命令 
- 
Verifying Page Elements 验证页面元素 
- 
Assertion or Verification? 断言和确认 
- 
Locating Elements 定位元素 
- 
Matching Text Patterns 匹配文本模式 
- 
The “AndWait” Commands AndWait 命令 
- 
The waitFor Commands in AJAX applications AJAX应用中waitFor命令的使用 
- 
Sequence of Evaluation and Flow Control 评估序列和流的控制 
- 
Store Commands and Selenium Variables 存储命令和Selenium的变量 
- 
JavaScript and Selenese Parameters JS和Selenese的参数化 
- 
echo – The Selenese Print Command echo- Selenese的打印命令 
- 
Alerts, Popups, and Multiple Windows 警报、弹窗和多窗口 
- 
Debugging 调试 
- 
Writing a Test Suite 编写一个测试套件 
- 
User Extensions 用户扩展 
- 
Format 格式化 
- 
Executing Selenium-IDE Tests on Different Browsers 在不同浏览器上在执行Selenium IDE的测试 
- 
Troubleshooting 故障排除 
 
- 
- 
Selenium WebDriver - 
Introducing WebDriver WebDriver的介绍 
- 
How Does WebDriver ‘Drive’ the Browser Compared to Selenium-RC? WebDriver是如何驱动浏览器对比Selenium-RC的? 
- 
WebDriver and the Selenium-Server WebDriver和Selenium服务器 
- 
Setting Up a Selenium-WebDriver Project 设置一个Selenium-WebDriver项目 
- 
Migrating from Selenium 1.0 从Selenium1.0的迁移 
- 
Introducing the Selenium-WebDriver API by Example 用一个例子来介绍Selenium-WebDriver的API 
- 
Selenium-WebDriver API Commands and Operations Selenium-WebDriver API命令和操作 
- 
Driver Specifics and Tradeoffs 驱动器的细节和权衡 
- 
Selenium-WebDriver’s Drivers Selenium-WebDriver的驱动 
- 
Alternative Back-Ends: Mixing WebDriver and RC Technologies 后端选择:WebDriver与RC技术的混合 
- 
Running Standalone Selenium Server for use with RemoteDrivers 使用RemoteDrivers运行Selenium服务器 
- 
Additional Resources 附属资源 
- 
Next Steps 下一步 
 
- 
- 
WebDriver: Advanced Usage WebDriver的高级用法 - 
Explicit and Implicit Waits 显式和隐式等待 
- 
RemoteWebDriver 远程WebDriver 
- 
AdvancedUserInteractions 高级用户交互 
- 
Browser Startup Manipulation 浏览器启动操作 
- 
HTML5 
- 
Parallelizing Your Test Runs 并行测试运行 
 
- 
- 
Selenium 1 (Selenium RC) - 
Introduction 介绍 
- 
How Selenium RC Works Selenium RC是如何工作的 
- 
Installation 安装 
- 
From Selenese to a Program 从Selenese到Program 
- 
Programming Your Test 编写你的测试 
- 
Learning the API 学习API 
- 
Reporting Results 结果报告 
- 
Adding Some Spice to Your Tests 在你的测试中添加些有用的小提示 
- 
Server Options 服务器选项 
- 
Specifying the Path to a Specific Browser 给特定的浏览器指定路径 
- 
Selenium RC Architecture Selenium RC的结构 
- 
Handling HTTPS and Security Popups 处理HTTPS和安全弹出窗口 
- 
Supporting Additional Browsers and Browser Configurations支持其他浏览器和浏览器配置 
- 
Troubleshooting Common Problems 故障排除之常见问题 
 
- 
- 
Test Design Considerations 测试设计注意事项 - 
Introducing Test Design 测试设计介绍 
- 
Types of Tests 测试类型 
- 
Validating Results 验证结果 
- 
Location Strategies 定位策略 
- 
Wrapping Selenium Calls Selenium包装调用 
- 
UI Mapping UI映射 
- 
Page Object Design Pattern 页面对象设计模式 
- 
Data Driven Testing 数据驱动测试 
- 
Database Validation 数据库验证 
 
- 
- 
Selenium-Grid Selenium网格 - 
Quick Start 快速开始 
- 
What is Selenium-Grid? 什么是Selenium 网格 
- 
When to Use It 何时使用网格 
- 
Selenium-Grid 2.0 Selenium-Grid2.0 
- 
How Selenium-Grid Works–With a Hub and Nodes Selenium网格是如何使用集线器与节点工作的 
- 
Installation 安装 
- 
Starting Selenium-Grid 开始Selenium-Grid 
- 
Configuring Selenium-Grid 配置Selenium网格 
- 
Hub Configuration 集线器配置 
- 
Node Configuration 节点配置 
- 
Timing Parameters 时间参数 
- 
Customizing the Grid 自定义网格 
- 
Getting Command-Line Help 获取命令行的帮助 
- 
Common Errors 常见错误 
- 
Troubleshooting 故障排除 
 
- 
- 
User-Extensions 用户-扩展 - 
Introduction 介绍 
- 
Actions 开始操作 
- 
Accessors/Assertions 访问器/断言 
- 
Locator Strategies 定位策略 
- 
Using User-Extensions With Selenium-IDE 使用Selenium-IDE的用户扩展 
- 
Using User-Extensions With Selenium RC 使用SeleniumRC的用户扩展 
 
- 
Appendixes: 附录
- 
.NET client driver configuration .NET客户端驱动配置 
- 
Importing Sel2.0 Project into Eclipse using Maven 使用Maven导入Selenium2.0项目到Eclipse 
- 
Importing Sel2.0 Project into IntelliJ Using Maven 使用Maven导入Selenium2.0项目到IntelliJ 
- 
Migrating From Selenium RC to Selenium WebDriver 从Selenium RC到Selenium WebDriver的迁移 - 
How to Migrate to Selenium WebDriver 如何迁移到Selenium WebDriver 
- 
Why Migrate to WebDriver 为什么要迁移到WebDriver 
- 
Before Starting 开始前 
- 
Getting Started 开始 
- 
Next Steps 下一步 
- 
Common Problems 常见问题 
 
- 
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/opensource/196418.html
