Date ;
Assignment = 3.
G+} long angwe ir @uestiong: |
Ew EE
~_ hl | what is_debugging ? Explain_its process
| diagrammatically
—* Debugging .— the process of deniifying ,
locating & conecing she errors | "bugs
___ | usually by tuning the rogram.
«| Process of Debugging +. =
OO
Executio 9 L ——
t Of Cases SS
Jest Resuns
“Ly cages —
aA
suspecied
: causes
Regressiot <— .
4ES4S VY
—__{__desto 00 —
‘ae 2 fbetbugging
_ggllechioN 5 i i ———
——
Fig Debugging Process
|] Tdentify ing. fror :- rdeniifying Ihe —
| Hight enor 19 imp. +o Save ime Cs __—
~——._|_avoid enors at tne user ge... 4Dote:
2 a
5
{i saen dhe Error. location i= Agier_
| \dentify” an_error, we need to_ideniii
he exack location im the Code: wher
Fan error occurs. <— —
—_____}} Analyze Error: = Debugging is the_
| proress of analyzing_causes behind _
ine bugs & removing them -
This_whl_help you jo understand +he
Problem -
54) Prove the Analysis :- peject
Lanalysis using modehng. docu mentatio
ginding & esting Candidate gflaws, etc:
|S) cover larera) Damage =~ Negech resoluri
by _making require changes Jo -the
-sysiem + Vahdahon of (oreqiong ,
| 'waiertall_ mode]! —
Explain ife cycle of Sajtware 4esiing_
with _cliagram.,
r software Testing life cyde (otic)
=| 1S the JeSting process. which is
executed in Systematic & Alannea
manner. a
- The fundamental “or ~ pot undersianda:
«| ple then the quatiry misses ance _mecis 3 the _
ev understand -— 7 To
| eiaxe holders +o bei
iL the _fequirements can _be-
——|_or_non= guncional- =~
Al Test _| planrin
$4 35 most Ficient_ vk_phase
—_| all jesting_plans are - -degined
———F This. pnase —gelS giavied once
= pment =gathering- gapse is_Col
ra Sul)
Shaih 4 gunttions —
“where
ye ~ yequire=
mel eyed 7por
5
Jest Case Development: - 4
“the jest cave clevelopment phase ge
Sjaried_once -Ine jest planning phase _
i completed.
rH T_invelves jhe Creation , yerigication. &
rework of je5+ cages & 4st Scripts
agierjne jest plan io ready.
Test Environment 28 i= —_!
- Ti_io_ Via) pare of SILC.
This FLC_phase de cicles_~ Software
L& hardware conditions inde which
A work Produck 13. 4esjed..
Test Execution _: -
- Agier_ine esr case development &
jest Environmenk Setup test execution
Phase ges Saved.
ro this phase desing team stars
=| executing test_cases based oN _prepared
jest cases in the earlier Sieg.
_ 8) Test closure _Acinit
bar io ginck stage of oc
a> where all_-Jesiing - related qaivities
| are completed & documented.
- The main objective of this phase is —
_4o ensure that_all_jesting_-teiqted
LachvirieS have been comple ed & that
_jne gajiware is. ready for release.PP
Date :
rputerenciale “bei gaults. errors 4 gailmes.
or
i _ eee rrr)
= Foun | — ErrorS+ | Fours.
~|_ —* |
Fy Fvan -Lwor King | Dan_sorte of | il 34's during —
- "| pf ane. Syntax errors | Software
—~] Program: in_Progiamming| _ingiallation,
—| code.
_ 4
3 neivering 2 Jogic 2) _Generaie
nor accurate - | misapproplaics misleading
ies, | resus.
yaiem_does | 3) System |_3) Fd user
noi_perform design \mplementation
45 funcions | Incorrect. failure -
as per the
requiremems -
— Al Picxed up| No proper | 9] Resunis Fare
Wutong, data dai provided | jncorreck_due
for aS JO pur | to Software
——| execution. data coding bugs.
2 foce system 3) Syste __|_) System_net—
~—-Seeurity. | vulneraple to | fuily seared
pects _grom | & customers —
— Po —oulside | neh _tely
orth ionDolo:
@-.4>|
—
DIHesing is ine
process jo find
| bugs _& errors.
Difference bet”. Testing Ky Debugging,
fing. "_| Debugging —_
Dtris process of _
correcting the bugs
jound luring
jesnng -
___ 2}| T+ is done
+by the tester.
2 \itis done by _
either Programmer
Gr Oeveloper.
_______|manual_or aujio- |
Testing can be
maied:
3] nebugging is :
ql was _ manual
4)
Tis based on
4) Tr is based _
ef JevelS e+)
| diff - 4e5hng
Lunt desing |
testing etc:
| imicgration testing, |
leystem system |
_on_ different an
___| different iypes _
r_pugs .
Testing is composed _ |
_| cf the validation
& verication of
Sofware + _
5] Developers wi] —
logically evaluates
__ & removes ne
__ Software errors.
_ -Dete :
oan wn ine ha ofdiggnneipein “are
_-4
4
_——
_——
_
_
——}
——
[ stares its asaninges A detabanay antages.
a emedel- joa ae o i a
! _where
a jn a \- Shape
Se lors tia set edict
| validation.
-yetification Phases are on -ihe Jeft hand
Lgide & valiclatio es yi
ade & Coding phase is at -the betiom
of V.
Ree (Acceptance
P| ( analysis - testing )
\ p |
v _ 7
Susie 5 C SySrery
ase sig)
——_*| \ ,
Arcnedure ZAimeganad
—_| desig \ testing
—— \. \ q /
|
| AC ecane “anit.
design DD Resting CDate: __
Requirement analysis _*=
H_is_girst_phase io the development
F Tevnlved detailed communication “with
he - cucinmnetta_undezand hig
—___} besign “of _Sysiem ill giark when jhe
—|overal] we clear with the product
requiremenis, -then need +o design -the
Soe Completely.
+ These will_be_beneficial for Ihe furure_
Sitio. ge tein __i
Arete crural Design
zo} ‘Io 3" whose.
EL prchitechnal Specifications _. are _understan
H & design in his phase.
mer |5_also ee as igh vel jesigt
HUD).
a - Module Desig gn = _ a
_|- io the 4! phase of verification.
In jhis_ phase he deidilecl_ intemal clesigt
Jor athe Sysiem modutes_is specified»
~ T+ jo also tegerrecd 4o.as low. Level Design> | bial
Dote :
od . . oo ~ -
| codieg_—- ot i
; a eo nase_arine bottom of
- Actual_coding_of System modules deg}
Fine design phase_is jaKen nud in
| _coding ahase.
[ validation Phases: =
LAA
| yids “Testing: - .
- 315 designed io module design hase
| are executed on ine (ode dung: thi
|_alidation Phase.
lb
Totegration “Teshng_: - |
of Adie completion: of untt Testing integra ~
| Hon +esting 9 performed.
-‘In_anis_phase , “Ine medwies: are inte -__
grated & Ine system is tested. -
15 _complere_application woth 1s guncli=
onality. \oier dependency & communication.
bate sess tne fundion_& non = guacional —
—__| tequitemenis oJ - jhe_developed application...
ee a : —-
- B16 associated worth jhe business___—
—_|_bequirement+ analysis phase & invelves——
noment.:
———|Hesting the Product _jn_user_e nvito
——~__| oe3 avantages = gam
|= easy o_undersiand_&_apAly. —_>
+ This” model i _4ime_Soving_ & Aira
aa 5 ‘Aveids downward 1 giow_of degeds. >
ee ae 4e54 >
esigning happens wwel_begore Coding.
\
Hisadvantag S i Hl
= not glerinle te aerate eer
=I" high tisk & uocertainty
—_Very_figid .
rt Nera gpa get complex pie.
—G- 6>s| wnat is tes ghalegy 7 what is its
| test
{purpose in testing 1 Also state its
—charevenighics —_—s
Strategy 15 a high-level plan, censi-
Sing of prindeles that guide 4he overall
al Software Testing _pracess.
- Fhe Aart TH 15 an integral part of
_ 50hwaie_develoament.
i tris a b_dear_blueprint of the —
____| 4esting approach jo be _dalewed ina —
=| Sogiware development _ cytes 4
{- The main_purdese of #40 produce _an
____| undersianding _of the complete approach, —~
_| Hoole: targe1s , & “heing of est achuitis—
+o_De_pergormed _—
—_Dote :__
eS
7] yesiing_begins_at -Ine_omponen+ Jeve
(& works" ourword " Joward the _iniegration
Ane en Jer -based System.
j)Jeating io conducted by the developer cf
4 [ne Software _&_an_independent est: “gicup.
3) Teating 2 Debugging_are different achtties
Dut yging Must be arcommodaicd _
|_ In an y deat 4 FAIeGY ..
5 ferenttesting Aching —ais—anhichials
“Qt what_is test case ? How 40 creale_it 2
+L Exlain_uaitla example. Ue tie
>) Test case_i5_dezined as, “4esr condition
| Such aS 46 exercise a _Panicular Plograr) _
|_path_or Verify: Compliance coith a_Specific__
requirement." 7 _
=| p jest case _Congiat of a set of input
Values, execution pre -candition . expectec
fesults & executed post -condition
developed io _¢over_ceriain jes: condition
-l is a set of Conditons under which _o_
| yeoter will_deiermine _thether_a_gunciionaln
——| of sogiware io worising correctly —or Dob
\\\\\
\\
|
\
——=| sample test case template =
——| -Date:
~!
y 7 —
va Oo ... PO
i fe (se 102 = Test Designed gy °
iz lest Priority (Lowlmedium/ | ___< name
Ps High): = |" —— _XDajey
7 —N_L Test- case_overheadl -
E cq very fomplex.
—_|7 Tests n be Jery oe
of Tntrease producton Errors .
+— Programming Knowleje & 90urce ode
| Whar iS black 409 ting 7 pescribe with
=p SeMable diagram a enample
= Ti_checks the gundional requikemenis_, ia
examines the input _& ous put data_of |
-Ihese _requiremenis.
rhe specified funcion for twhich_ the _
Sofware product or Sustem has been _
“designed 9 Known, -lestS are _pergermel
| 40 ensure 4+nar_each gundioN_ iS pork)
Properly. This 15 Iejewed Io. as black
box! esting.
be
ouiput>
[Gamat \ Execajable
opt Piogiarm®
yo
ES eS
Fig, Blac Boy Testing -
~~
Oe -~Date : —_____-—_—_
1-19 AlSo_Known_a9_hehavioral_~fealing_ focuses
on Ihe | whal- is Conhal_glow deshng.? Hots +
__| works 1 Explain_tis types.
—=
= Comic) flow Aes-hng \o_a_esiing Jechnique—
| hal=_comes ander “white box 4esiing.
+ The _aim_of Ahis sechnique is 4o determine
| the execution order at statements ar
inofruciians cf ahe program rough _a___
Conwol oyructure .
L The conto! shucture cf a_program jo
used jo develop a tea case gor jhe
Program.
- Ty is usually performed using a Contro)
glow graph _Ccra tohich 13_a_gtaphical _
represenialion of ihe glow of a “prog
L various “lypes_of 4yeshag performed under
_comire) siudlure esting: ~
_1) condition tesing :- 71 ig a jest cage
_design _meinod_-rhat- exeiciges 1he logical
_conditions comained _jn_a Program _cnoclule.y
| Foaa Flow -+teting_:- methed seeds
jeor ero pains A Program actording ~
L -to_+he_Jocations of - definitions 2 use
= 1 jn jhe program. Y
i, -ofvariables ra - J —~.
3 Cop teshag := TH 6 a whic -box
4NgG_ fechnique. 4hat cjocuses. exdu-
aively_on she. validity of Joop Srmactuies,
Four classes of loops Can _be_degined
€_\00PS , concajenated’, Nested
Unstructured. loops.
Date :