








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Software Testing Lecture Slides
Typology: Lecture notes
1 / 14
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