Software Testing Notes
Software Testing Notes
Sotwace u a
Qualiy incates h e deqee o
ecceLence o prooluct. oService T t is.
o
oT epectahons
Swquality is a Complex concept i t
means i e r e n t things todihteent
people i t is dependet
following ee ve vieos ot the
quai
1 ronacend enta eo
uau Somehnq h a can
be recogmizd but is i i c u t odejine
Thisvieuo is eo
speciicto s/
quai t but applied
a Use Vie -
In his Case accordinq to usee's
ie Omee k queaHon. Does
h e p n d u satsPy woer needs
expectahoms 2
Manutacturinq Ve The qualy level a
pDduct is deezmined Ly h e tw pillmen o
the speciicatians ot thewoer
For Educational Use Only
Top
Cduct Lb
v.twcd
his cae
r uals ty
sthe n h e r enb chaachetshcs he
*Rale Tesing
Aas/ w is cod ed wng SoTme
progTOmming lanquage Ater Codinq, thbe
product issubjected to teshn9
S/u tesHrn9 S proces o executin
proq h Hhe i n t e n t n d i n q
o7 3w
ere Naudaing gainst Yequuemfmts
Teshn9 Plays a n 1mpa-rtont rale
inachievinq aoseDS)ng the quality o
o 3 product
Iale improe s he h e q u a u ty a
products aA we epeats a test+-ind det ecs
iCycle dueing develo pme nt
On othex ha nd we a s eAS h o
gond
gond ou usem is ohen we perhotm
syster l e v +ests behore reaning
asesSment can
eoing prwuct
be
u 9 uauy
ddivided intoo o broad
Caeomes
Staic anaysis s dyno mic amalyss
.dels
desiqn dceume nts
This analysla neludes cade
inspechon . al oPhro aralysis p s s s
oy
ot Corree neAS
T da eant ino le a c u a a x ta
h e code unde devel a per.ent shcad
texaminea code5eaens atLall possi
ehaviautà that night a s e duung u n
ynamic Analysls
I+ inalvea actualprorav
execuion in o r d e to e p o s possi hle
pogram a lureP
Bhavioutal S perurmante prpeeha
Pr an a r also observed
qroms a executed usith bcth
typical chosen. input values
There o r e in teshin9 we ebsetve
Pro4 x O m behavIous yeo ch to the
COncluslon about the
quaiy o he
Syshem
by peroLmnq taHc S
droroiC analyses, ochhoneta wat to
den.
dentit any out a poasible so
ed at
tha hose auut aee iced a eorly
stage o 3/ deveoprment Bath onalllis
mplimentoLy innatute gb o
beH e ehechHveness,bothOuot be perjotmeo
rpeteJly atenakd
Page No
Topic 0ate
Yexiieahon Validaion
Veritication
It Is the proces oy evaluahng
at
SysFem or COmpOnent. ererrnine.
ahehe he prod uct SaHsty+he conouhons
Impoaed mxequurement
e
Execweg
buildinq
achviHes to check Aree Ae
h e prDd uct c o r e c t .
T1S Proachve pcess a s its
Purpse is Prerent deects
to
THisexecwed n vauowsphases
eqwrement revie oeiqn revieo or
od e evieu
Ve cahan_ actHv1b reyie the
intetin oducts Such as eg rements
Prger
apeciti caion desiqn Code duu'nqlite cycle
to ensuee h e i r quali ty
The quali yattLukes o vericaton
actixi He co sistency coopleeness,
correctnes at each raa ata9e o
ysem develo pme
Veujicahon acHviHes peepotmed
by applying stahc anaysis echniques suchos
in ns,-cevieos
IH can also nclude
eynamic analysis Such oo actua pop9ra
execuhom
Vali dation
PrOces ot evalu ahng 3s he re
COropanenta duin or at t h e e nd ot
eve oprne nt proces to check whethe
it Saisfies speciied e i e r n e nt s
h e aim t Yaudahor ,iDetivitre
Talles care a achihes
answe A e we buldin the tor eCt
prDduct
cuo aion a chxi Hes conbir mSs
heher pro duch mees Cusornets
e rpechLHons Tnshort aldaion achivityes
Pocw ors t h e ina product ohich is
tesked fom cusomer's point ot vie
+ested
E+Vaudation 's p e o n e d towards
h e end a syshem developoent o
deteroine i h e enHre syskem mees
the euaamer's need and expectahons:
YalidaHon i a perhomed o n h e
Cnly
For Educationat Use
PageNo.
Topic Date.
2Deect-
und b he+ester hen
its adeect
I n estnq +he develope nmissed
to Corect h e
e iO O qot to corec
i +hi's paicw a exre i s
he
ound by
testet i t i s Krmown
o t dejeatE
So genetallydeectsis vauance
So e r x o s
S0 ound by e s t e s i s knouon
detecs-egT
Lohen e
code is oaddiHas b
qele the i j p o 2 nos t
2nos
buug a r e a t s i n the
Actually bug9s
ystem Or aPplicafon 0prDgTam wbicb
mpacts the unchonali 4 perbooe
fauut
IE an incorrect s e p , prD LeLs
1 aompuee Pmorom hich c auses
n Unintended
PDqa m D pe oLn
manne
Fault is nothing bur a One p
ax condiHon duetphichyo sstem
alsOr 1t c u o e to aul the sten
ohere h e
T+ is mere
o fen
checK s happens
CcOnd H o n Systen For t ducatienel Use Crity
Page No.
Topic Date.
gqet
et execwed then the ystern will
Psouuce the ront e s u t t s causing
ailute
we hondovez +he psoduci to
e they ha
sone issue. hen it is.
c al ed tale ot h e syslem)
PageNo.:
Date
Topic
*obeetives oTesing
a e t pDcess ate
Stake holdets
hepnqrommeu, teot desi9ner, hee
and h e Cwshomels
pDect managers
A stakebolde is a perbon Os an
by hat
nizahon wbo is impacted
SShem:
skakeholdets vie thee
Diterent
test process 70m d i e e m t pespecHvea:
iTtdoeswotk -
ecxeases
ThuA
S tobnnq OLO
oechive P
hetalinge
tess_
accepable eve
Reduce he costo+eshn
The ditteeet kinds ot costs aAsociake
with a testpDceaS include
1 he costE daaigni-aqmainkaun
executnq tetCases
hecost_oqayzing the s ut o
execLwinq eachHeat case
3 he cosst o doumetinq each testcases
the cost a_a.ctualy execuhnq thesystem
doumenhnqit
e s mumber os e a t cases desiqned
t h e e s s uoill be the associaled cost o
+etinqSo desiqmininq e s no.a estcase
s notgod way o Saxing Cost
The obectie here is h o t pmduce
loo isk so ware oith o e nu mber
o e a tc a s e s
Tet nqineet nuat select e o e
eecive est caAes-
TesHnqActiviHes
T o o r d en Ho atestapro9To 9
Select ioput
The second acHiy is to select L e t
inputs Sdeche o test îoput car be.
based on eqwemens speeiicaHon
Source_code Teat iputs a r e selecked b
Keeping est oblechein mino
Coneufe e ecpecheouteom -=
Te hid ochiit is o Corapute he
expeched outcome hepD9Tam
J
oith be
seleched inpts
T o most cases h i s conbe done o r o
an oetall uxnderstandin o the es
abeche specicaHba ot he p9ro
nde est-
4Setup the execuion enronrme nto the
PD om
The pDurth Step is to prepaze hbe
ightexecuioneniTonOent O he n9rOm
T oh i s Sepall he aasumphons eteena
othe prDorram muot_ be stal 3aisted
For Ectcational Use Only
b e exampfes ate oollows.
Top
I auLe he loca) yshew,Ateral
his rnay oclue a
nj
Conneclian avau loble, noJu ng 19 h da) akast
Syae nm avalable . so o n
I n t allze anmr e rn.ote, etetnal shern
to teat clieut ccode, we ray need to
tat the serve a e r n o t e site
Execu the PID9r0 rn
Io t h e i jt h h e p the e a t eng
execues the pr0qram Loith the selected
iyeobsezve the actua sutcovoe o the
Pru9am Toex
ecte a test caoe nputs noy
provided to h e proqrarm at dithecent
physi ca lacaHans at dibherent tines
iArause +he eatesult-
The tinal test octvity is to analLyze
t h e result o test execuHon Here man
a k is ta compore the actual oukome o tes
pmqrom execution oith the exxpeced awtcarnë.
end ch the analusis shep.a
A+ h e
+ear verdiet is aosigned to t h e progrom
Theeote 3
kind o test veriets ,paas.
ond inconclusive:
+he prD qram produuues h e expeched
Outcorng h e puupose o h e e s t c a e iss
sahsied, hen a pos verdict is aasiqned.
27 I he proraro doesnt puduces he
expected outc ne,hen e r d i e t is
apsiqn ed
ome cane ma not pogsi ble to
aosqna c l e a pass o7 a i l vedde Hor e
aimeo occus ahile.execuioq o test
ForEducatro Usa Only
Page No.
Topic Date.
2 Sowce code-
Requrernent speciicahon odeacibes
the ind intended bthaviou oa s e r
the
he soucce eode descmbes the acua)
behaviau at the system
Sotware desi anet may Produe o
detailed desiqn, proromners m a intoduce
aditio na detuls into the sushem
ee a a stepn the detasled dëiqn can be
s o t a u t a A To 30rt an a t a y t h e r ae
Tmany sor ing aonthms w t h d erent
eharocteushes uch a itetahan, re cusi0n
temp oraul n anothe ata Thetene
Forhc na s a Oaty
T