SE Unit 2 Scenario Based
SE Unit 2 Scenario Based
REMENTSANALYSI
S
1.
Obj
ect
ive
Therequi
rementsmodelmustachi
evethr
eepr
imaryobjecti
ves:
(1)t
odescribewhatt
hecustomerr
equi
res,
(2)t
oestabli
shabasi
sforthecr
eati
onofasof
twaredesign,and
(3)t
odefineasetofr
equi
rementst
hatcanbeval
i
datedoncet hesof
twar
eisbui
l
t.
2.
Requi
rement
sModel
i
ngAppr
oaches
SCENARI
O-BASEDMODELLI
NG
I
thast
hreest
eps:
1.
Creat
ingaPr
eli
minar
yUseCase
Ausecasedescr i
besaspeci f
icusagescenarioinst r
aight
for
war dlanguagefr
om thepoi
ntof
vi
ewofadef inedactor
.
Tobegi ndevelopi
ngasetofusecases, li
stthefunctionsoractivi
ti
esperformedbyaspecif
ic
actor.
Youcanobt ainthesefrom alistofrequi
redsy stem functi
ons,throughconver
sati
onswith
stakeholder
s,orbyanev aluati
onofact i
vit
ydi agramsdev elopedaspar tofrequir
ements
model i
ng.
2.Refi
ningaPr eliminaryUseCase
A descr ipti
onofal t
ernat i
vei nteractionsisessent ialf oracompl et
eunder st
andingofthe
functiont hatisbei ngdescr i
bedbyausecase.
Ther ef ore,eachst epi nthepr imaryscenar i
oisevaluat edbyaski ngthefoll
owingquesti
ons.
•Cant heactort akesomeot heract i
onatt hispoint?
•Isi
tpossi blethatt heact orwi l
lencount ersomeer rorconditionatt hi
spoi nt
?Ifso,whatitbe?
•Isi
tpossi blethatt heact orwi l
lencount ersomeot herbehav ioratthispoint?Ifso,whati
tbe?
Answer stothesequest i
onsr esultinthecr eat i
onofasetofsecondar yscenar i
os.
Inadditi
ont othet hreegener icquest ionssuggest ed,t
hef ol
lowi ngissuesshoul dal
sobeexpl or
ed:
•Aretherecasesi nwhi chsome“ vali
dationf uncti
on”occur sdur ingthisusecase?
•Aretherecasesi nwhi chasuppor t
ingf unction(oractor)willfailt
or espondappropri
atel
y ?
•Canpoorsy stem per formancer esultinunexpect edorimpr operuseract i
ons?
3.Wr
iti
ngaFormal UseCase
Theinf
ormalusecasespr esent
edar esomet i
messuffi
cientforrequi
rement
smodel
ing.However
,
whenausecasei nvol
vesacrit
icalact
ivi
tyordescr
ibesacompl exsetofstepswi
thasigni
fi
cant
numberofexcept
ions,amorefor
mal approachmaybedesirabl
e.
Formal usecasetempl
ate:
Usecase
name:
Pri
mar y
actor
s: Pre
condit
ions
Pot
condit
ions
MainFlow/ Cour
se
Alt
ernate
Fl
ow/ Course
Excepti
ons
Usecasedi
agr
am