Skip to content
ruhshan edited this page Sep 21, 2020 · 5 revisions

Test Cases:

#Receive

Case 1: Do: Receive a product A4 80 GSM with Rims per carton: 5, Cartons received: 5, Bonus Units: 0, Date: 21st September, 2020. Validate: In stock A4 80 GSM will be 25, in daily summary for 21st September Stock end will be 25.

Case 2: Precondition: Receive a product A4 80 GSM with Rims per carton: 5, Cartons received: 5, Bonus Units: 0, Date: 21st September, 2020. Do: Receive a product A4 80 GSM on 14th Semptember 2020, with rimps per carton: 5, carton received: 2, bonus units: 0. Validate: In stock A4 80 GSM will be 35 on 21st September.

Case 3: Pre condition: Execute case 1 and 2 Do: Receive a product A4 80 GSM on 20th Semptember 2020 with rims per carton 5 and carton received: 5, bonus units: 0. Validate: In stock A4 80 GSM will be 60 on 21st September.

Case 4: Precondition : Execute 1 2 3 Do: Update receive product for A4 80 GSM on 20 th september with rims per carton 5, and carton received: 2 , bonus units: 0 Validate: In stock A4 80 GSM will be 45 on 21st Septermber.

case 5: Precondition: Execute 1 2 3 Do: Receive production A4 80 GSM on 2oth September with rimps per carton 5, carton received:1, bonus units:0 Validate: In stock A4 80 GSM will be 65 on 21st Septermber.

Case 6: Do: Receive a product A4 80 GSM with Rims per carton: 5, Cartons received: 5, Bonus Units: 5, Date: 21st September, 2020. Validate: In stock A4 80 GSM will be 25, in daily summary for 21st September Stock end will be 30.

Case 7: Precondition: Execute 6 Do: Receive a product A4 80 GSM on 14th Semptember 2020, with rimps per carton: 5, carton received: 2, bonus units: 10. Validate: In stock A4 80 GSM will be 50 on 21st September.

Case 8: Precondition: Execute 6, 7 Do: Update receive product for A4 80 GSM on 14th september 2020, set bonus unit: 5 Validate: In stock A4 80 GSM will be 45 on 21st September

Clone this wiki locally