Software Verification and Validation (CS608) : Spring 2021 Assignment # 02
Software Verification and Validation (CS608) : Spring 2021 Assignment # 02
Topics Covered:
Use Case Analysis Based Testing
NOTE
No assignment will be accepted after the due date via email in any case (whether it is the case of load
shedding or Internet issues etc.). Hence refrain from uploading assignment in the last hour of deadline.
It is recommended to upload solution file well before its closing date.
If you find any confusion in the assignment (Question statement), please consult with your Instructor
before the deadline. After the deadline no queries will be entertained in this regard.
For any query, feel free to email at [email protected]
Scenario:
Consider the following High level Use Case Model of an E-Store System
(Figure-1) along with the description of the Login / Registration Use Case.
USE CASE DIAGRAM (HIGH LEVEL)
System View
Manage
Financing Financing
<<includes>> Department
Explore Catalog
Login
n
<<includes>>
Administrator
<<includes>>
Maintain Account
Maintain Database
Shipping
Service
Maintain
Customer Shopping
Cart
Credit
Process Returns Institution
Process Help
Request Customer Support
Description
This use case describes how users gain access to the e-Store system through the login/registration
(account creation) process.
Primary Actors
1. User: wants to gain access to the system for any number of reasons (e.g., maintain personal
account, check order status, purchase items, administer system, etc.).
2. Marvel Electronics Owner: wants to ensure security of system.
3. Pre-Condition: the user is on the "Sign In" screen.
4. Post-Condition: the user is either logged in or failed to log in and is appropriately notified.
1. The user has forgotten his/her username, password, or both, and clicks the "Forgot
Username/Password?" link
2. The system resets the users account and sends an e-mail notification with the new information
3. The user utilizes the new username/password information to log in following the basic flow
New User
System Administrator
System administrators follow the basic flow for this use case when logging in to the system.
Special Requirements
After three consecutive unsuccessful login attempts, the user's account will be locked and must be
reset by a system administrator.
Users may not login from multiple different computers simultaneously. If this condition is
detected, the user will be notified with appropriate warning/error messages.
You are required to develop all the possible Test Cases for the above mentioned Use Case
(Login / Registration).
Use
TC Scenario Expected Pre- Post Pass/Fail
Case Inputs
ID ID Output Condition Condition Criteria
ID
Note: