Preface >>

Contents

Preface >>
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
In this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Book structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Source code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About the author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About Polteq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
i
ii
iii
iv
v
vi
1 Selenium IDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 Using Selenium IDE for the first time . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2 Record a test script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 Modify a test script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4 Store information from the page . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 Dealing with AJAX functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.6 Create test suites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.7 Exexute test scripts in different browsers . . . . . . . . . . . . . . . . . . . . . . . .
1.8 Further references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
2
5
6
7
8
9
10
11
2 Selenium IDE extensions & plugins . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 Using the UI-map user-extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Using the flow control user-extension . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Using the data driven user-extension . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 Using the highlight elements plugin . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5 Using the power debugger plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6 Using the stored variables viewer plugin . . . . . . . . . . . . . . . . . . . . . . . . .
2.7 Using the favorites plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.8 Further references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
13
16
17
19
20
21
22
23