Automation Complete Notes (SAR)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 452

I V) !)or,!n\~d and u .

e 0 Y~Ime\c D r ivets # 8
,
i /
k cdebpite c ~ d c rq e r t i n ~ 3-@
C ) Lorntiho dements 7 b I I -44
IQ-24
(w) Exception Handling..................................................................201
(x) Run java code in Command Prompt.........................................206
(y) Pattern matching using Regular Expressions............................207
(z) OOPS Concepts.........................................................................208
VIII. DDT Framework.................................................................209-239
(a) DDT Using Array.......................................................................209
(b) DDT Using HashMap................................................................217
(c) DDT Using Text file...................................................................223
(d) DDT Using .xls file....................................................................230
IX. Keyword Driven Framework................................................240-254
X. POM (Page Object Model).....................................................255-267
XI. Module Driven Framework using TestNg...........................268-295
XII. BDD with Cucumber............................................................296-322
XIII. Appium................................................................................ 323-389
(i) Android Based Apps & sites test automation in windows pc..323
(1) JDK Installation..............................................................324
(2) Android SDK Installation...............................................324
(3) Connecting ARD to Computer(Windows)......................325
(4) Creating AVD..................................................................326
(5) Configure AUT in ARD/AVD.........................................328
(6) Appium Server Configuration.........................................330
(7) Project Creation & Jars Association................................331
(8) Developing Test scripts...................................................331
(ii) Appium Inspectors..................................................................348
(iii) Appium Bindings............................................................349-373
(iv) TouchAction class...........................................................374-385
(v) MultiTouchAction class.........................................................386
(vi)AI in Testing....................................................................390-400
(a) What is AI?.......................................................................390
(b) Need for AI in Testing......................................................390
(c) Color Recognition using Java...........................................391
(d) OCR (Optical character Recognition)...............................397
(vii) Site Automation..............................................................401-408
(a) Common site for Computer & Mobile...............................401
(b) Different UI-Design for Computer & Mobile................... 405
(viii) DatePicker Automation...................................................409-412
(ix) Android & Ios apps & sites test automation(Mac pc)..413-416
(a) Test Environment/Test Lab.................................................413
(b) Appium Server Architectute(Internal Software).................413
(c) Inspectors............................................................................414
(d) Desired Capabilities............................................................414
(e) Start & Stop Appium Server............................................... 415
(f) Example code for Ios...........................................................415
(g) Handling Dynamic Elements..............................................416
(x) BDD Framework for Mobile S/w Test Automation............. 417-436
(Mibility Testing)
Jenkins..................................................................................................433
Selenium Grid......................................................................................437
Github...................................................................................................439
SoapUI..................................................................................................441
(a) Types of services.................................................................442
(b) Example wsdl & wadl.........................................................442
(c) SoapUI Configuration.........................................................443
(d) SOAP based services automation....................................... 443
(e) RESTful Services Test Automation.....................................443
(f) Database Verifications..........................................................445
06

-
@is-
~n remnw

e w w n= R ~ L . (1
tq,
Q ~ D ~ W I Y JcRaw&s. (
7

-
,
io-
J
>t+vma - q.yedace f"al','bC'):
elZl*!crt. 0 s r
(1
ftanq 5 ~ ayedore(
. n , \
-1
/'
PU ri$-n. ovt.or-r c->
l T l

-- nt~~
--t - - --r Cae:
-
-,
3 o l o w ~ ~ f ~ 'P

~A!Q f a WQ * 2 ~ , Q?d%'dX % CPQWY'~?


;T
(3
3
\A
'-1
L
:J
-
2

0
;3
1)
7 L-

t
'r
i/

'd
I 1,

You might also like