日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

非常有用的User case用例描述模板

發布時間:2025/3/21 编程问答 15 豆豆
生活随笔 收集整理的這篇文章主要介紹了 非常有用的User case用例描述模板 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
非常有用的User case用例描述模板
Table 6.0
Use Case # DATAENTRYPROJECTCUST-1009
Use Case name Maintain Customer
Description This Use Case depicts full maintenance of customer from project "Data Entry".
Scope and level
  • Data Entry System (Internal)
  • Credit Card System (External)
Level User Goal Level (If this property is not understood, look at the reference for the book Writing Effective Use Cases (**PRE-PUB. DRAFT#3**): Alistair Cockburn Humans and technology)
Primary and secondary actors Data Entry operator.
Stakeholders and interests
Trigger Data entry operator clicks on menu: "Add New Customer"
Preconditions
  • Data entry operator should be logged in.
  • Data entry operator should have access to Internet.
Assumptions Customer information received is entered manually. No automated import routine is in the scope.
Failed End condition
  • Customer is not added to database and appropriate error message is displayed.
  • Customer code already existing in the customer database.
  • Customer code length limit is exceeded.
  • Customer credit card limit is exceeded.
  • Customer credit card validation failed with the payment gateway.
Action Add new customer
Main success scenario (or basic Flow):
  • Data entry operator receives customer information.
  • Data entry operator enters following information:
    • Customer code
    • Customer name
    • Customer address
    • Customer phone
  • Customer code is checked if it exists in Customer table.
    • If the customer code is existing then "Duplicate Customer Code" error is raised.
    • If the customer code is more than 8 length, then "Customer code length limit crossed" error is raised.
  • After step 3 is passed OK. Data entry operator enters credit card information. If the credit card length is more than 10 length, then "Credit card length limit crossed" error is raised.
  • Credit card information is send to the external payment gateway. Appropriate APIs of the external payment gateway will be used for validity.
  • External payment gateway returns "OK" if credit card is validated or else will return "NOT VALID" flag.
  • Data entry operator then adds the customer in database.
  • Alternate scenario (Extensions): Update Existing Customer
  • Data entry operator enters customer code to retrieve the customer who has to be updated.
  • Data entry operator makes appropriate changes to the customer information. All steps and business validation from 1 to 6 of Add new Customer is repeated.
  • Data Entry operator updates the customer information.
  • Alternate scenario (Extensions): Delete Existing Customer
  • Data entry operator enters customer code to retrieve the customer who has to be deleted.
  • Data entry operator deletes the customer. Data entry operator is alerted "Are you sure you want to delete the Customer?”
    • If the data entry operator clicks "Yes", then the customer is deleted from the database.
    • If the data entry operator clicks "NO", no action is taken.
  • Success Guarantee (Post conditions):
    • Customer is added to Customer database.
    • Customer is updated to Customer database.
    • Customer is deleted from Customer database.
    Special Requirements (including business rules):
    Technology and Data Variations List: If credit card payment gateway API changes, the interaction of the data entry customer module will have to be changed accordingly.
    Frequency of occurrence:
    Notes and Open Issues:
    ?

    總結

    以上是生活随笔為你收集整理的非常有用的User case用例描述模板的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。