7. 0 Find T utorial Find Again Help T op of Chapter Back➜ ➥
T a ble of
Con t en t s 0 Books Books T a bl e o f C o nt en t s Online Online Find W e lc o m e to the WinRunner T u toria l ... ..... .... ..... ..... .... ..... ..... .... ..... .. 6 Usi n g T h is Tut o ri a l . ..... ..... .... ..... ..... .... ..... ..... .... ..... ..... .... ..... ..... .... ..... .. 6 Find Again Typo grap hical Co nven tion s . ..... ..... .... ..... ..... .... ..... ..... .... ..... ..... .... ..... .. 9 Help Les s on 1 : Introdu c i ng WinRunner ..... ..... .... ..... ..... .... ..... ..... .... ..... 10 The Be nef i t s of Au tomat ed Testing ... ..... ..... .... ..... ..... .... ..... ..... .... ..... 11 Unde rstan d ing th e Te sting Proce s s . . ..... ..... .... ..... ..... .... ..... ..... .... ..... 13 Exp l o r i n g t he Win R u n n e r W i ndo w . .... ..... ..... .... ..... ..... .... ..... ..... .... ..... 15 T op of Chapter Les s on 2 : Setting Up the G U I Map ..... ..... .... ..... ..... .... ..... ..... .... ..... 21 How Doe s W i n R un ner I den tify G U I Ob j e cts? .. ..... ..... .... ..... ..... .... ..... 22 Back Sp yi n g o n
GUI Ob jects .... .... ..... ..... .... ..... ..... .... ..... ..... .... ..... ..... .... ..... 23 Choo sing a G U I Map Mode . ..... ..... .... ..... ..... .... ..... ..... .... ..... ..... .... ..... 27 Usi n g the
➜
➥
Online Guide
Books
Books
Online
Online
®
W
inRunner
7.
0
Find
T
utorial
Find
Again
Help
T
op of
Chapter
Back➜
➥
T
a
ble of
Con
t
en
t
s
0
Books
Books
T
a
bl
e
o
f
C
o
nt
en
t
s
Online
Online
Find
W
e
lc
o
m
e to the WinRunner
T
u
toria
l
...
.....
....
.....
.....
....
.....
.....
....
.....
..
6
Usi
n
g T
h
is
Tut
o
ri
a
l
.
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
..
6
Find
Again
Typo
grap
hical Co
nven
tion
s
.
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
..
9
Help
Les
s
on 1
:
Introdu
c
i
ng
WinRunner
.....
.....
....
.....
.....
....
.....
.....
....
.....
10
The
Be
nef
i
t
s of
Au
tomat
ed
Testing
...
.....
.....
....
.....
.....
....
.....
.....
....
.....
11
Unde
rstan
d
ing
th
e Te
sting
Proce
s
s
.
.
.....
.....
....
.....
.....
....
.....
.....
....
.....
13
Exp
l
o
r
i
n
g t
he
Win
R
u
n
n
e
r W
i
ndo
w
.
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
15
T
op of
Chapter
Les
s
on 2
:
Setting Up the G
U
I
Map
.....
.....
....
.....
.....
....
.....
.....
....
.....
21
How Doe
s
W
i
n
R
un
ner I
den
tify G
U
I
Ob
j
e
cts?
..
.....
.....
....
.....
.....
....
.....
22
Back
Sp
yi
n
g
o
n
GUI Ob
jects
....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
23
Choo
sing
a G
U
I Map
Mode
.
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
27
Usi
n
g the
Rap
i
d
T
est Scri
p
t
W
i
zard
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
29
W
i
nRun
ner T
u
torial
Page
2➜
➥
T
a
ble of
C
ontent
s
Les
s
on 3
:
R
e
cordi
n
g
Tests
...
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
34
In
Choo
sing
a Re
cord
Mo
de
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
35
Reco
rd
i
n
g
a Con
t
e
x
t Se
nsitive
Test
..
.....
.....
....
.....
.....
....
.....
.....
....
.....
38
Unde
rstan
d
ing
th
e Te
st Script
..
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
42
Books
Books
Online
Online
Reco
rd
i
n
g
i
n
An
alog
Mod
e
..
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
44
Runn
ing
the
Test
...
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
48
Find
An
alyzing
Test
R
e
sults
....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
51
Reco
rd
i
n
g T
i
p
s
..
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
54
Find
Again
Les
s
on 4
:
Sync
hronizing Te
sts.
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
56
Help
Wh
en
Sh
ou
l
d
Yo
u S
y
nch
r
o
n
ize?
...
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
57
Cre
a
tin
g
a
Test
..
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
59
Chan
gin
g
th
e Synch
r
o
n
iza
t
ion Set
t
ing
...
.....
....
.....
.....
....
.....
.....
....
.....
62
Ide
n
t
i
f
y
i
n
g a
Syn
c
hron
izatio
n P
r
o
b
lem
...
.....
....
.....
.....
....
.....
.....
....
.....
64
T
op of
Syn
c
hron
i
z
in
g t
he
Test
....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
66
Chapter
Runn
ing
the
Syn
c
hron
ized
Test
....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
69
Back
Les
s
on 5
:
C
h
e
c
k
i
ng GUI
Objec
t
s
.
.
.....
.....
....
.....
.....
....
.....
.....
....
.....
71
How Do
You
Che
ck GUI O
b
ject
s?
.
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
72
Ad
ding
GUI Ch
eckp
oints
to
a Te
st Script
....
....
.....
.....
....
.....
.....
....
.....
75
Runn
ing
the
Test
...
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
81
ing
the
Test
on
a
N
e
w Ve
rsio
n
.
.
.....
.....
....
.....
.....
....
.....
.....
....
.....
84
GUI Ch
eckpo
i
nt
T
i
p
s
..
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
87
W
i
nRun
ner T
u
torial
Page
3➥
➜
T
a
ble of
C
ontent
s
Les
s
on 6
:
C
h
e
c
k
i
ng Bitmaps
....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
89
In
How Do
You
Che
ck a
Bitmap
?
.
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
90
Ad
ding
Bitmap
Che
ckpo
i
n
t
s t
o
a
Test
Script
...
.....
.....
....
.....
.....
....
.....
91
Viewing
Exp
e
ct
ed
R
e
sults
...
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
95
Books
Books
Online
Online
Runn
ing
the
Test
on
a
N
e
w Ve
rsio
n
.
.
.....
.....
....
.....
.....
....
.....
.....
....
.....
97
Bitmap
Che
ckpo
i
n
t
Tips...
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
100
Find
Les
s
on 7
:
Progra
mming Tes
t
s wi
th
T
S
L
....
.....
.....
....
.....
.....
....
...
103
Find
How Do
You
Prog
ram Test
s wi
t
h
TS
L?
..
.....
....
.....
.....
....
.....
.....
....
...
104
Again
Reco
rd
i
n
g
a B
a
sic Test
Script
..
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
106
Help
Usi
n
g
the
Fun
c
tion
Gen
e
rat
o
r to
Inse
rt Fun
c
tion
s
.....
....
.....
.....
....
...
108
Ad
ding
Lo
gic to
th
e Te
st Sc
ript.
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
111
Unde
rstan
d
ing
tl_s
tep.
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
113
Debu
gg
ing
the
Test
Script
...
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
114
T
op of
Runn
ing
the
Test
on
a
N
e
w Ve
rsio
n
.
.
.....
.....
....
.....
.....
....
.....
.....
....
...
116
Chapter
Les
s
on 8
:
C
r
eating Da
ta
-D
r
i
ve
n Tes
t
s
....
....
.....
.....
....
.....
.....
....
...
119
Back
How Do
You
Creat
e Da
ta-Drive
n Te
sts?
.....
....
.....
.....
....
.....
.....
....
...
120
Conv
erting
Yo
ur Test
to
a Dat
a
-Drive
n Te
st
...
.....
.....
....
.....
.....
....
...
122
Ad
ding
Data
to
the
Dat
a
Ta
ble
.
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
128
Ad
j
u
sting
th
e S
c
rip
t
with Re
gu
l
a
r Exp
r
e
ssions
.....
.....
....
.....
.....
....
...
130
Custo
m
izin
g th
e Re
sults I
n
fo
rma
t
ion
.
.....
.....
....
.....
.....
....
.....
.....
....
...
133
Runn
ing
the
Test
an
d A
n
a
l
yzin
g
Re
sults
.....
....
.....
.....
....
.....
.....
....
...
134
Data
-Driven
Testin
g Tip
s
.
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
137
W
i
nRun
ner T
u
torial
Page
4➥
➜
T
a
ble of
C
ontent
s
Les
s
on 9
:
R
e
ading
Text
...
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
139
In
How Do
You
Rea
d
Te
xt from a
n
App
l
i
c
a
t
ion
?
.
.....
.....
....
.....
.....
....
...
140
Read
ing
Text
from an
Ap
plicatio
n
.
....
.....
.....
....
.....
.....
....
.....
.....
....
...
142
Tea
c
hing
Fon
t
s to
W
i
n
R
un
ner
..
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
149
Books
Books
Online
Online
Ve
rifyin
g Te
xt
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
153
Runn
ing
the
Test
on
a
N
e
w Ve
rsio
n
.
.
.....
.....
....
.....
.....
....
.....
.....
....
...
156
Find
Text C
h
eckp
oint
Tips
..
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
158
Find
Les
s
on 1
0
: Crea
ting Batch Te
sts
.
.
.....
.....
....
.....
.....
....
.....
.....
....
...
159
Again
Wh
at
is a B
a
tch
Test
?
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
160
Help
Prog
ra
mmin
g a
Ba
tch Te
st
..
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
161
Runn
ing
the
Ba
tch
Test
on
Version
1B
..
.....
....
.....
.....
....
.....
.....
....
...
163
An
alyzing
the
Ba
tch
Test Re
sults
.
.
....
.....
.....
....
.....
.....
....
.....
.....
....
...
164
Ba
tch Te
st Tips..
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
168
T
op of
Chapter
Les
s
on 1
1
: Mainta
ining Your
T
e
st S
c
ripts
.
.....
.....
....
.....
.....
....
...
169
Wh
at
Happ
en
s W
hen
th
e Use
r
Inte
rface
Cha
nge
s?
.
....
.....
.....
....
...
170
Back
Ed
i
t
i
n
g O
b
ject
Descriptio
n
s in
the
GUI Ma
p
....
.....
.....
....
.....
.....
....
...
172
Ad
ding
GUI O
b
ject
s to
the
GUI Ma
p
.
.....
.....
....
.....
.....
....
.....
.....
....
...
179
Upda
ting
th
e G
U
I
Map
w
i
th
th
e Ru
n W
i
zard
....
.....
.....
....
.....
.....
....
...
181
Les
s
on 1
2
: W
h
ere
Do You Go
from
Here
?
.
.....
.....
....
.....
.....
....
...
186
Get
t
ing
Sta
r
t
e
d
.
.
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
187
Get
t
ing
Ad
dition
al In
formatio
n
..
.....
....
.....
.....
....
.....
.....
....
.....
.....
....
...
190
W
i
nRun
ner T
u
torial
Page
5➜
➥
W
e
lco
m
e to t
h
e W
i
nRunne
r T
u
t
o
rial
0
Books
Books
W
e
lc
om
e
to
th
e
W
i
n
R
un
n
e
r
T
u
to
ria
l
Online
Online
W
e
lc
om
e to
the
Wi
nRu
nne
r
tutor
i
al,
a s
e
l
f
-
p
ac
ed g
u
i
de t
hat t
eac
hes
y
o
u
the
bas
ic
s
of
te
sti
ng
y
our
a
ppl
ic
ati
o
n
wi
th
Wi
nRu
nne
r
.
T
h
i
s
tuto
r
i
al
wi
ll
fa
mi
li
ar
iz
e
yo
u
Find
with
the
pr
oc
es
s o
f
c
r
e
a
ti
ng
and
r
u
nni
ng
auto
m
ate
d
te
st
s
an
d a
nal
yz
in
g th
e te
st
re
su
lt
s
.
Find
Again
Help
Us
in
g T
h
is
T
u
t
o
r
i
a
l
T
h
e tut
o
r
i
al
is
di
vi
ded
int
o
12 s
h
o
r
t l
e
s
s
o
n
s
.
In ea
ch
les
s
on y
o
u
w
i
l
l
c
r
e
a
te a
nd r
u
n
tes
t
s o
n
th
e s
a
mp
le
F
l
i
ght
Res
e
r
v
a
t
io
n ap
pli
c
ati
on (
F
li
gh
t 1A
an
d F
l
i
ght
1B
)
T
op of
loc
a
te
d i
n
y
our
W
i
n
R
un
ner
pr
og
r
a
m g
r
o
up.
Chapter
T
h
e s
a
m
p
le
F
l
i
ght
Res
e
r
v
a
t
io
n ap
pli
c
atio
n c
o
m
e
s
in
two v
e
r
s
ion
s
:
F
l
i
ght 1
A
a
nd
Back
F
l
ig
ht 1
B
.
F
l
ig
ht 1
A
i
s
a fu
ll
y wo
r
k
i
ng p
r
o
duc
t,
wh