Purpose: Create a new receipt.
Business rules:
“Đối tượng” is a required string with a length ranging from 3 to 30 characters. The first character must not be a number. No special characters or blanks are allowed.
• "Ngày" is automatically set to the current date and cannot change.
"Tiền" is required, integer number, greater than 0 but not exceeding VND
• “Số phiếu” is generated automatically and cannot change.
• “Diễn giải” is optional but not exceeding 250 chars.
Function Details:
Normal case:
• All input data is valid, and a new receipt is successfully created.
• The Cashier clicks on the "Huy" button, all fields will be cleared, and the screen will be reloaded.
Abnormal case:
• Data input is invalid, and invalid input notification is displayed below the corresponding field.
1. Analyze test conditions using the Equivalence Partitioning and Boundary Value Analysis test design techniques and fill in the table 3.1 (Question 3.1 & 3.2 template).
2. Design 10 integration test cases with the test data to cover as many TAGs as possible and fill in the table 3.2 (Question 3.1 & 3.2 template).
3. Complete the 10 test cases that you have designed in (2) with detailed Pre-condition and Test Case Procedure using table 3.3 (question 3.3 template).
* Notes: Please feel free to include any assumptions needed for your answers to be clearer and
Zoom
100%
Close