My favorites | Sign in
Project Logo
                
Search
for
Updated Apr 27, 2007 by ted.husted
PhoneBook_UseCase  
Use case describing the example phonebook application (Issue 13)

Narrative

The Heart of Gold takes on a new crew members, Ford Prefect and Arthur Dent. Trillian brings up the ship's phone book directory. To be sure Marvin hasn't already added the newbie, Trillian makes a quick "autoincrement" search by last name.

(Refresh) (Edit) (Add) (Delete)
Filter Entries by: (Last Name)
Pr
No matching results

The system comes up empty ...

... so Trillian selects the (Add) command.

First Name Ford
Last Name Prefect
Extension 5551234570
User Name peanut
Hired 07/26/1978
Hours 35
(Delete) (Cancel) (Save)

Trillian selects (Save and Add Another), and system confirms the entry on a view-only screen, which includes a (Save and Add Another) command. Trillian Selects (Save and Add Another). The system presents another blank form. At the confirmation screen, Trillian selects (Save) this time, and the directory list displays, with the new entry included.

<< < 1 2 3 > >> (20)

Last Name First Name Extension User Hired Hours
Android Marvin 555-123-4568 noid 06/15/78 161
Beeblebrox Zaphod 555-123-4566 zaphie 04/01/78 -1
Halfrunt Gag 555-123-4567 ziggy 04/01/78 7
MacMillan Tricia 555-123-4569 trillian 05/28/78 37.5
Prefect Ford 555-123-4570 peanut 07/26/78 35
Dent Arthur 555-123-4571 monkeyboy 07/26/78 35

<< < 1 2 3 > >> (20)
(Refresh) (Edit) (Add) (Delete)
Filter Entries by: (Last Name)

Later, Arthur complains about his user name. To update the directory, Marvin double-clicks on the field and enters the new user name inline

Dent Arthur 555-123-4571 sapien 07/26/78 35

Goal

Goal Maintain PhoneBook directory
Level User Goal (User Goal, Summary, Subfunction)
Trigger Change to directory roster

Main Success Scenario (MSS)

Step Action
1 Client accesses PhoneBook site
2 System presents a list entries view with a search field
3 Client enters criteria
4 System filters and presents matching entries
5 Client selects directory entry
6 System presents input form for selected entry
7 Client edits form and selects (Save)
8 System presents current directory

Extensions

Step Extension Action
3a Column Filters
.1 System presents list of columns
.2 Client selects a column
.3 System presents a set of initial letters for the content of the selected column
.4 Client enters or selects initial letter
.5 System presents entries matching the initial letter
.6 Client selects entries or narrows criteria by adding letters
.7 Systems filters entries or advises "No matching results"
.8 If client reduces criteria, matching entries are represented
.9 On select, return to MSS 6, or return to MSS 2
4a Pagination
4b Change Pagination
4c Sort by Column
.1 Client selects row column
.2 System presents list collated by selected column
4d Inline edit
4e Inline delete
4f Refresh List
4g Edit Entry
4h Insert Entry
.1 Client selects (Add)
.2 System presents entry form with some columns set to default values (Hired: today, Hours: 37.5)
.3 Return to MSS 8
4i Delete Entry
See 7d
7a Validate input
7b Cancel Edit
.1 Client selects (Cancel)
.2 System does not change entry
.3 Return to MSS 8
7c Revert Edit
.1 Client selects (Reset)
.2 System restores original values
.3 Return to MSS 6
7d Exit Guard
.1 Client selects another menu
.2 System verifies that data is unchanged
.3 If data changed, System raises confirmation
.4 If exit is confirmed, return to MSS 8
7e Delete Entry
.1 Client selects (Delete)
.2 System presents read-only entry with confirmation prompt
.3 Client answers prompt
.4 On yes, return to MSS 8
.5 On no, return to MSS 6
5b Authorize Editors
.1 Client is not registered as a PhoneBook editor
.2 System does not present edit form when entry is selected

Test Plans

Filter (4)

Pagination (4a)

Edit Row (5)

Validation (7a)

Cancel Edit(7b) (Draft)

Sort by column (4c) (Draft)

Value Reference

List

title List Entries - PhoneBook Example Application
page link link=3
page size link=3, label=200
row 1, cell 1 yui-dt0-bdrow0-cell0
row 2, hours cell yui-dt0-bdrow1-cell5
Filter Input elForm_input

Edit

title Edit Entries - PhoneBook Example Application
Hours field anvil-df0-form_hours
Submit button anvil-df0-form_SUBMIT
Cancel button anvil-df0-form_CANCEL

Issue 13


Sign in to add a comment
Hosted by Google Code