Docsity

Test Plan for Database Tables: Orders, Office, Customer, Staff, and Product, Study notes of Database Programming

Toggle sidebar
bg1
Test plan for Orders table
Order no
No Aim Key Data
type
Test
Data
Goal Expected
result
Actual
result
Correct/wrong
1To test
the
price
Check
key
Money 2000 To
save
the
price
Make
database
to
accept
the price
Accept the
price
correct
2To test
the
Price
Check
key
Money 2000 To
save
the
price
Make
database
to
accept
the price
Reject
the
Price
state
becaus
e of
wrong
input
wrong
Attempt 1
Attempt 2
Test Plan for Office
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b

Partial preview of the text

Download Test Plan for Database Tables: Orders, Office, Customer, Staff, and Product and more Study notes Database Programming in PDF only on Docsity!

Test plan for Orders table Order no No Aim Key Data type Test Data Goal Expected result Actual result Correct/wrong 1 To test the price Check key Money 2000 To save the price Make database to accept the price Accept the price correct (^2) To test the Price Check key Money (^2000) To save the price Make database to accept the price Reject the Price state becaus e of wrong input wrong Attempt 1 Attempt 2 Test Plan for Office

OID

No Aim Key Data type (^) Test Data Goal Expected result Actual result Correct/wrong 1 To test the OID primar y key/ check key Char(6) OID- o To save the OID For the databas e accept OID Accept the OID state correct (^2) To test the OID primar y key/ check key Char(6) OID- o To save the OID For the databas e accept OID Reject the OID state becaus e Wrong format Wrong Attempt 1 Attempt 2 Test Plan for Customer table

CuPhone No Aim Key Data type Test Data Goal Expecte d result Actual result Correct/ wrong (^1) To test the CuPh one Check Key/ unique Key varc har(

09- 96785 672 To save the CuPhon e For the datab ase accep t CuPho ne Accept the CuPhone corrrect 2 To test the CuPh one Check Key/ unique Key varc har(

09- 96785 672 To save the CuPhon e For the datab ase accep t CuPho ne Reject because of data duplicatio n wrong

(^3) To test the CuPh one Check Key/ unique Key varc har(

09- 76548 90724 68454 54 To save the CuPhon e For the datab ase accep t CuPho ne Reject the CuPhone because of wrong format wrong Attempt 1 Attempt 2 Attempt 3

Attempt 2 Test Plan for Staff Table StaffID No Aim Key Data type Test Dat a Goal Expecte d result Actual result Correct/ wrong (^1) To test the Staff ID Primar y key/ Check key Char(5) (^) ID- 01 To save the StaffID For the datab ase accep t StaffI D Accept the StaffID state correct 2 To test the Staff ID Primar y key/ Check key Char(5) ID- 01 To save the StaffID For the datab ase accep Reject the StaffID state because data wrong

t Staff ID duplicatio n 3 To test the Staff ID Primar y key/ Check key Char(5) ID- 001 To save the StaffID For the datab ase accep t Staff ID Reject the StaffID state because of wrong format Wrong Attempt 1 Attempt 2

SubAmount No Aim Key Data type Test Data Goal Expected result Actual result Correct/ wrong 1 To test the SubA mount Default key Money 23250 0 To save the SubA moun t For the database accept SubAmoun t Accept the CUID state correct Attempt 1

N

o Aim Key Data type Test dat a Goal Expecte d result Actual result Correct/ wrong 1 To test the Discount Defaul t key/ Check key mone y 0.1 (^) To save the Discoun t Amount For the databas e accept Discount Amount Accept the Discoun t Amount state Pass 2 To test the DiscountAmoun t Defaul t Key/ Check key mone y 0.1 (^) To save the Discoun t Amount For the databas e accept Discount Amount Accept the Discoun t state pass 3 To test the DiscountAmoun t Defaul t Key/ Check key mone y

To save the Discoun t Amount For the databas e accept Discount Amount Reject the Discoun t state because of wrong format fail Discount Attempt 1

DeliverCharges No Aim Key Data type Test data Goal Expected result Actual result Correct/wrong 1 To test the DeliverCha rges Chec k key mone y 2000 To save the DeliverCharge s For the database accept DeliverCharge s Accept the Discoun t Charges State correct 2 To test the DeliverCha rges Chec k key mone y 2000 To save the DeliverCharge s For the database accept DeliverCharge s Reject the Discoun t Charges state because of wrong format wrong Attempt 1

Attempt 1 Attemp FinalTotal No Aim Key Data type Test data Goal Expected result Actual result Correct/wrong 1 To test the FinalTota l Default key/ Check key money 21972 5 To save the FinalTota l For the database accept FinalTota l Accept the FinalTota l State correct 2 To test the FinalTota l Default key/ Check key money 21972 5 To save the FinalTota l For the database accept FinalTota l Reject the FinalTota l state because of wrong format Wrong

  • Attempt
  • Attempt
  • Attempt
  • Attempt
  • Attempt
  • Attempt
  • Attempt
  • Attempt
  • Attempt
  • Attempt