








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









Use Case Based Testing
Use Case Based Testing Use Case: ļ¶ (^) List of steps to achieve a goal ļ¶ (^) Interaction between the actor and system ļ¶ (^) Captures functional requirements of the system ļ¶ (^) Document describing end to end behavior of the system from user perspective
Use Case Based Testing ļ¶ (^) Black Box Testing ļ¶ (^) Tests are designed to execute user scenarios ļ¶ (^) Helps us to identify test cases that exercise the whole system. ļ¶ (^) Testing of typical and exceptional workflow scenarios for the system ļ¶ (^) Functional Testing ļ¶ (^) Done from two side
Deriving Test Cases with Use Cases ļ¶ (^) Tests check the typical use of the system
Example 1: Flight Reservation Application Use Case Name Login Use case Description A user login to System to access the functionality of the system. Actors Customer, Admin Pre-Condition System must be connected to the network. Main Success Scenario Step Description A:Actor S:System 1 A: Enter Agent Name & Password 2 S: Validate Password 3 S: Allow Account Access Extensions 2a Password not valid S :Display Message and ask for re-try 4 times 2b Password not valid 4 times S :Close Application
Example 2: ATM Use Case Name: Cash Withdrawal Actors : Customer, Bank Description: This Use case describes how the customer uses the ATM system to withdrawal cash from his/her bank account Pre-conditions:
Example 2: ATM Withdraw Cash
Example 2: ATM Withdraw Cash Additional Business rule: ļ¶ (^) The system will dispense a maximum of $100 in a single transaction Post conditions: ļ¶ (^) The system will receive their cash amount. Now do Use Case Testing
Advantages and Disadvantages of Usecase based testing Advantages: ļ¶ (^) User focused ļ¶ (^) Access better ļ¶ (^) Quality requirements Disadvantages: ļ¶ (^) Not suitable for non-functional requirements
Thank you