2007年7月13日 星期五

eStore - UC 4 Maintain Account

1. Abstract
1.1 Feature ID:
1.2 Actors: Customer
1.3 Description: 新增使用者帳戶或修改帳戶資訊

2. Basic Flow of Events: 維護帳戶資訊
1. 系統根據登入狀況,顯示新增或修改的功能
1. 如果使用者未登入, 在Page功能表中顯示Register button
2. 如果使用者已經登入, 在Page功能表中顯示Maintain account button
2. 使用者選擇下列功能
a) 使用者選擇註冊新帳戶(ref 2.1-Register Account)
b) 使用者選擇維護帳戶資料(ref 2-2Maintain Account)

2.1 Register Account
1. 系統顯示註冊畫面
a) 包含Email, password, confirm-password, name, country, address, phone, fax
2. 使用者輸入資料
3. 系統進行新增Account (如果新增失敗,ref 3.1-新增失敗)
4. 系統顯示新增成功訊息,並自動進行登入動作
2.2 Maintain Account
1. 系統顯示維護帳戶資料畫面
a) 顯示登入使用者的資料, 包含Email, name, country, address, phone, fax
b) 密碼欄位不顯示資料, 顯示Change password按鈕
2. 使用者輸入資料,按Update按鈕
a) 如果使用者按Change password按鈕, 則進入流程 2.3-Change Password
3. 系統進行更新資料 (如果更新失敗,ref 3.2更新失敗)
4. 系統顯示更新的結果
2.3 Change Password
1. 系統顯示修改密碼的畫面, 包含new password, confirm new password兩個欄位
2. 使用者輸入資料, 按Confirm按鈕
3. 系統進行更新資料 (如果更新失敗,ref 3.3-修改密碼失敗)
4. 系統顯示更新的結果, 系統返回前一步驟

3. Alternative Flows
3.1 新增失敗
1. 回註冊畫面
2. 系統顯示失敗訊息,使用紅色*提示錯誤的欄位,但保留使用者輸入的資料,清除密碼欄位

3.2 更新失敗
1. 返回維護帳戶資料畫面
2. 系統顯示失敗訊息,使用紅色*提示錯誤的欄位,但保留使用者輸入的資料
3.3 修改密碼失敗
1. 返回修改密碼畫面, 顯示失敗訊息,清除密碼欄位

4. Subflows

5. Key Scenarios

6. Pre-Conditions
6.1 執行維護帳戶資料功能時,使用者必需先登入成功

7. Post-Conditions
7.1 新增帳戶成功後,則自動進行登入, 並回到登入前一網頁

8. Extension Points

9. Special Requirements
9.1 輸入畫面必須檢查輸入資料的格式與正確性
9.2 回應時間不可超過5seconds

10. Additional Information
10.1 Data definitions
10.2 User Interface prototypes

沒有留言: