You are on page 1of 4

Login Name summary actor preconditions descriptions login login to the library system a librarian or user the Id and

password have been insured No action 1 an actor enter the following information from the login screen "id" and "password" 2 the system searches for librarian and citizen user information corresponding to the ID to verify that the password is correct 3 if the actor is successfully logged on, the "library staff menu" or "citizen user menu" appears 2a the librarian or citizen user corresponding to the entered ID is not found. 2b the entered librarian or citizen user password is wrong 1a there are some blank fields. description the citizen user is successfully logged on the librarian is successfully logged on the user information corresponding to the ID is not found the entered password is wrong there are some blank fields

exception

scenario #01 #02 #03 #04 #05 Register Acount

Name summary actor preconditions descriptions

exception scenario #01 #02 #05

register Create new user account a librarian librarian login successful No action 1 librarian give user indispensable information 2 system check user information, if information is ok, create new account 3 switch to "update user information" to update some information 4 show ID and Password of new account 1 there are some blank field 2 user information not correct. description #01 there are some bland field #02 user information not correct #05 new account create successful

Lend book Name summary actor preconditions descriptions lend books user lend book a librarian librarian login successful No action 1 librarian giver user's ID and book's ID 2 system check user status and book information 3 if user can borrow and book is allow, update check-out information 4 "lend books ok" messenger is appears 1 there are some blank field 2a user id not found 2b book id not found 3a user borrowed more than 10 books or more than 15 days 3b the books is borrowed by other user description there are some blank field user's id not found this book not in library user can't lend more books this book is borrowed, switch user to Reserving function user borrowed book successful

exception

scenario #01 #02 #03 #04 #05 #06

Return book Name summary actor preconditions descriptions return books user return book a librarian librarian login successful No action 1 librarian giver user's ID and book's ID 2 system check user status and book status 3 system check check-out information 4 system update check-in information for books and use, "return books ok" messenger appears 1 there are some blank field 2a user id not found 2b book id not found 3a use did borrowed this book description there are some blank field user's id not found this book not in library

exception

scenario #01 #02 #03

#04 #05

user never borrowed this books or this book is returned user return books

Search Name summary actor preconditions descriptions search books search book a user or a librarian actor login successful No action 1 actor choose search type and give book information 2 system search 3 system show result for actor 1 there are some blank field 2 no book available description there are some blank field no result show result for user

exception scenario #01 #02 #03

Check information Name summary actor preconditions descriptions Check information user or librarian check user status a user or a librarian actor login successful No action 1 give user ID (witch librarian) 2 system check user status 3 system show user status 1 it is some black field 2a book id not found 2b user is not found 2c user can't receiving more book 3 available date is later than user's requirement description there are some blank field this book is not in library this user is not found user can't receiving more book book allow later user requirement receiving books successful

exception

scenario #01 #02 #03 #04 #05 #06

UPDATE INFORMATION
Name summary actor preconditions descriptions update information user or librarian update user information a user or a librarian actor login successful No action 1 give user ID (witch librarian) 2 system check user status 3 actor update user information 4 system update new information 1 it is some black field 2 user is not found 3 new information is bad description some black field ID is not found some information is bad information update successful

exception

scenario #01 #02 #03 #04