Professional Documents
Culture Documents
Hoc lo open a
bTOc0seT Y
69 usin9 driver gekuT o7 drivty. navigohe ko teo
OiFfrance betcoeen Web07ivtr 4Wt Element
blesElemen
ltb D7ivEy
O PeFOTm the ackion on O Per Form he achion on elem
ent ohich is PTEsUn an
the bTocOse
kleb Pag9
s e Sizeo
maximize y
Click
O clearO
6 9eTlec)
O sekuTenUr| )
9 Closec)
GqukC
evigote t)
4gu
colosec)
becoeen
ODrCfrence
uued to close.
etose to clo3e O 9ut
mcnod
cued
is
O closec) mekhod the ai ab5
9 Ho o maximize fhe 6r0cosez ?
6 vng the maximiEe t) mekhed
O4oax
Can you
mioimie the br
No, 0e can not ninimize
ocose.1
the brooseY
Componeno seleniom 9
TheYC GT fouT
Compon un 0 selenium
Selenium 119E RC itb07ivey 9Tid
checkbo
Kekurn pe oF 2adio butlon isllebElemen
oyotar
AlesElement tadiodrivtr Find entn (xaath y pan (" ep
tad io: clickc)
To PE Porm di Fvenk acHoo
i s Displyed
isênable.
booleag
1SSdeched Pekn P e
y
9Hoto to oke iK P e t th. tht coeb poge
c 9c the Prom
81 9 3eHTexK\mehod ex
t h e co tb page
Hoo o l the page e
2B3 ing tTHle ) method coe gt the
p01 i}
etun of e 4 shin
Ogntox
sing s divtr geTHe
Sing d 00g)e"
uif (3 equals (d0)
o gs0 Pas3)
elae
J o Fail")
To geTHe)
Sring S t r drivey gekTitle )
Fdd ?
valut 101OPG
OHoco 1o enttT the value
3yoax PoinE
PesrhonP ne co Rasiia ( 1o, 2 0 0 ) i
P'oin
div Se 3TGSTH 095
seleckyVotue, selecg iislelej
islbox, By Index,
3eleei
32 neki ons o
9eAlseleched0phio
2eFOphions, 1SMuliple,
OtiskBK
s Mulhple ()
Command 15 used to verifg toheBher the speci Pied
selech elemen Suppot Seleciing mulhple option3
a Ahe 3ame me
tekuTn rue cohen uppoth seech ng muu ple.
Opho dse tuuo fail
display
ohen y0u Per FOYm thc
ohich are Preuen 0n coeb Page.
Authenhicalion Pop Up
file opload
OFile doconlogd
handle alex Pop oP
-
outputfile.File s
File deskinahon neo Pile U" poth of Calder img1-jpg")
FileHondiey-Copy SouTce, destinaBioo
9tkSingtallValue t3 mitod
To Pekch the nomeric
valu t e 3c NumeicCd volue 1) oc
be
displayt1 he toebpage au
Ccaus
Hoco 10. handle. Ahe ifiame ? ralo anome C6FaK
2
3 To handle the iramc 0 need to Seleniurm Pou
@ HelClaus
t d fo execuhion oP Peco hes metheds AFhe ezecu-ior
of t4 Cla4s
Beforemekhod
u td Co execution of Peo estmetnod be Core
ececuhion evey tet cbhod
9AFerMehod
bcfore
utd PoY Xeuion a feco test Methods
Tuk OT 1a caue
takions 8-
oipfrent kegcoord For anno
O PTiOTH= pri0n
mernod oe
ue
envocakion
CounF
0 xeCute muliple
-Some ime some mcthod oeed
time then toe utEnvdcatian Counh
Pageo
Dat
natled
TF est class can contoin maliple method and
t
need to skiep one of ut method cxecuHion uoe
0eed +o ueenatled Palse"
TimeOuk
1 classcontain multiple
esk mcth odi
Dne of. the tat memod dime
the TatNG
consuming io execut
bydeCault Pail tha tal meth od and
othtr es meth od cohich
e
Can be uing Time0ur m
depends ON ;-
Tf one eskmthod is depend en the ano ther
then
mu
coe need to use dependi On mtthed koood
Enie
drop Punckion
drag 4
PrCAent in acionrclass corthPotamchey source 4 duhnakon
2 Whal ove the limilotions of seleni um ond
Coe
in
onich ol
can not ue thegdeum
7 In Selenium c o can no upload
File
and
doconload th
oe cant auo make 1he
caphcha
cant auiomate the bqrcode
ad-hoc tes ca tan' be quomaied
2 Advanfags of Tes+NG 9 7
?
Have you Cr Ot cd an1fromecootE it
in
N O i didnt 9t 4chance +o involvc
9
Movan 9 ihal 1s Pom-xm1
2Who s 10ol
ianagmenk
3Movao 5 Frojec
(Mainain ighE
Mavon 15 used 40manage depndancie5
veY3ion G jav5
feauna
IF9enerake al lis of all thanges done in the teposiiey
can bt conCigurE +o
emai
e.can save tesk
tepot and execubio0 hi3hory
O Jeoein3 3upptrs mavan. Por building 00d ieshi 0g 9
Pojec in ci
8 Hoo 1o txecuhe fail tesk coses 9
AFter ton the tes PTojec click on cPresh
A Polde coill be gentraked named iesl-oupuk Polder
Snside sk-oukpul ldtt. 9ou could Cind
iesking-Failed m
Runeshing-Failed xmu ta execuhe he Cailed +eak
Casu again
excepion
O Unsupporked operakion excephion
dement excephon cohen HTIL code to7oung
no such a
to idenh F elemn
becauue of 3ynchronica kion
6Advontages of PoM?
the cod&
mokes eay in maintaunn9
OT
iake Code teadable
1ewa ble
the (od e
Makes ophimised
becomu less and
tode
The
(ohoiFnee bekoten sof o03ev and hovd asser-
Sefy Rssertr
To vercome the drasaback of 0sso cioas ot need t
use o0) asse
Col
Hard RsserE -
T7edudce the lny th of ra Seip de e htl aueu
0LheT do ou so1 4007 a e doka ?
E c c a l ohee
display an UL
Loltse verst ons of seleniom 9
10 03109
O chTomt
11A 9-9
OHP ALM12-S
selenium tid7ivtY3-14
501 5evvty-20l4
GsORP U1 2-3
0 3RVA o 2
OPoai rion1-7
Eclipse Phskon