• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Selenium Documentation
Release 1.0 
Selenium Project
November 27, 2011
 
CONTENTS
2.1 Test Automation for Web Applications. . . . . . . . . . . . . . . . . . . . . . . . . . 52.2 To Automate or Not to Automate?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52.3 Introducing Selenium. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62.4 Brief History of The Selenium Project. . . . . . . . . . . . . . . . . . . . . . . . . . . 62.5 Selenium’s Tool Suite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72.6 Choosing Your Selenium Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.7 Supported Browsers and Platforms. . . . . . . . . . . . . . . . . . . . . . . . . . . . 82.8 Flexibility and Extensibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.9 What’s in this Book?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92.10 The Documentation Team–Authors Past and Present. . . . . . . . . . . . . . . . . . . 10
3.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.2 Installing the IDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133.3 Opening the IDE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163.4 IDE Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173.5 Building Test Cases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203.6 Running Test Cases. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223.7 Using Base URL to Run Test Cases in Different Domains. . . . . . . . . . . . . . . . 223.8 Selenium Commands “Selenese. . . . . . . . . . . . . . . . . . . . . . . . . . . . 233.9 Script Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243.10 Test Suites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253.11 Commonly Used Selenium Commands. . . . . . . . . . . . . . . . . . . . . . . . . . 253.12 Verifying Page Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.13 Assertion or Verification?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263.14 Locating Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283.15 Matching Text Patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333.16 The AndWait” Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353.17 The waitFor Commands in AJAX applications. . . . . . . . . . . . . . . . . . . . . . 353.18 Sequence of Evaluation and Flow Control. . . . . . . . . . . . . . . . . . . . . . . . . 353.19 Store Commands and Selenium Variables. . . . . . . . . . . . . . . . . . . . . . . . . 363.20 JavaScript and Selenese Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . 373.21
- The Selenese Print Command. . . . . . . . . . . . . . . . . . . . . . . . . . . . 383.22 Alerts, Popups, and Multiple Windows. . . . . . . . . . . . . . . . . . . . . . . . . . 383.23 Debugging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
i
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...