07 Test Plan ITP 112 Visual Basic .NET I -- Mrs. Eaton -- Spring 2008 Programmer:______Tester:______

Points: ______of 30

Create a word document called 07-TestPlan-Firstname-Lastname.doc. Include Chapter 7 Test Plan and your name at the top of each page. Include a page number at the bottom of each page.

#1 Conference Registration System (10 points)  (1 point) Look at the code window. Is the program documentation included at the top? If no, circle what is missing, otherwise write yes. Programmer, Purpose, Input, Process, Output, ID  (0 points) Look at the property panel to complete the table. Control Property Value Form Name not Text Textbox – Name Name Textbox – Company Name Textbox – Address Name Textbox – City Name Textbox - Phone Name Textbox - State Name Textbox - Zip Name Label – Total Cost Name Button – Select Conf Options Name Button – Reset Name Button - Exit Name

 (1 point) Open the Conference Options form, and complete the table. Control Property Value Form Name not Text Checkbox – Registration Name Checkbox – Dinner & Keynote Name Listbox – Pre-conference Name Button – Reset Name Button - Close Name  (0 points) Run the application. If the application does not run or stops, then write down the error message, otherwise write OK.  (1 point) With the application still running, enter data for the first form. Click the Select Conference Options button. Enter data for the second form. Open Word and do a screen capture of the form like Figure 7-55 on page 478.  (1 point) Click the Close button. Use Word and do a screen capture for the first form like Figure 7-54 on page 478. The first form should display the calculations.  (2 points) Using the following test data, write the answer calculated by the

Chapter 7 Test Plan ITP 112 Page 1 program. Input Values Total Cost or message Registration, Dinner, Ecommerce Registration, Future Web No Registration, Network Security Registration, Dinner, Advanced VB Registration, Dinner  (4 points) Print the code. Circle the following item in your code and label a,b etc. a) Code to display the Conference Options form b) Did you use a function to calculate the pre-conference option? Yes or No Circle the code or function c) Did you use a function to calculate the total costs? Yes or No Circle the code or function. d) Input Validation section. The user cannot register for the optional events without selecting the conference registration first. Circle the code that validates this.

#2 Shopping Cart System (10 points)  (1 point) Look at the code window. Is the program documentation included at the top? If no, circle what is missing, otherwise write yes. Programmer, Purpose, Input, Process, Output, ID

 (1 point) Open the Shopping Cart Main form. Look at the property panel to complete the table. Control Property Value Form Text Listbox – Products Selected Name Label - Subtotal Name Label - Tax Name Label – Shipping Name Label – Total Name Menu - File Name Menu – Reset Name Menu – Exit Name Menu – Products Name Menu – Print Books Name Menu – Audio Books Name Menu - Help Name Menu – About Name Button – Remove Name

 (1 point) Open the Print Books form, and complete the table.

Chapter 7 Test Plan ITP 112 Page 2 Control Property Value Form Text

Listbox – Print Books Name Button – Add book to cart Name Button - Cancel Name  (1 point) Open the Audio Books form, and complete the table. Control Property Value Form Text

Listbox – Audio Books Name Button – Add book to cart Name Button - Cancel Name  (0 points) Run the application. If the application does not run or stops, then write down the error message, otherwise write OK.  (2 points) With the application still running, pull down the Products menu and select Print Books. The Print Books form will display. o Open Word and do a screen capture of the Print books form. Select a print book, and then click the Add book button. The book should display in the Main form. From the main form, pull down the Products menu and select Audio Books. The Audio Books form will display. o Use Word and do a screen capture of the Audio books form. Select an audio book, and then click the Add book button. The book should display in the Main form. At least two items should display in the main form with the total cost calculation. o Use Word and do a screen capture of the main form.  (1 point) Using the following test data, write the answers calculated by the program or the message displayed Print Books Audio Books Subtotal Tax Shipping Total Cost I did it your way Learn Calc… The History of .. None Feel the Stress None Relaxation… The Science.. I did it your way The History.. Learn Calc… The Science..  (3 points) Print the code. Circle the following items and label with a,b,c, or d. a) Code that displays Print Books form. b) Code that displays the Audio Books form. c) Code or function that calculates subtotal. d) Code or function that calculates the total cost.

#6 Skateboard Designer (10 points) Design your own form

Chapter 7 Test Plan ITP 112 Page 3  (1 point) Look at the code window. Is the program documentation included at the top? If no, circle what is missing, otherwise write yes. Programmer, Purpose, Input, Process, Output, ID.

 (1 point) Look at the property panel to complete the table for the Main form. Control Property Value Form Name Label – Deck Name Label – Truck Assembly Name Label – Wheel Set Name Listbox – Miscellaneous Name Label – Hardware Subtotal Name Label – Tax Name Label – Miscellaneous Name Label – Total Name Button or Menu – Select Deck Name Button or Menu – Select Trucks Name Button or Menu – Select Wheels Name Button or Menu – Miscellaneous Name Button – Calculate Name Button – Clear Name Button – Exit Name

 (1 point) Open the Decks form, and complete the table. Control Property Value Form Name Listbox – Decks Name Button – OK or Add Name Button - Cancel Name

 (1 point) Open the Truck Assemblies form, and complete the table. Control Property Value Form Name Listbox – Truck Assemblies Name Button – OK or Add Name Button - Cancel Name

 (1 point) Open the Wheel Sets form, and complete the table. Control Property Value Form Name Listbox – Truck Assemblies Name Button – OK or Add Name Button - Cancel Name

 (1 point) Open the Miscellaneous form, and complete the table. Control Property Value Form Name

Chapter 7 Test Plan ITP 112 Page 4 Groupbox Name Checkbox – Grip tape Name Checkbox – Bearings Name Checkbox – Riser pads Name Checkbox – Nuts & Bolts Kit Name Checkbox – Assembly Name Button – OK or Add Name Button - Cancel Name  (0 points) Run the application. If the application does not run or stops, then write down the error message, otherwise write OK.  (1 point) With the application still running, open Word and do a screen capture of the following. You design your own forms for this programming challenge. a) the Decks form b) the Truck Assemblies form c) the Wheel Sets form d) the Miscellaneous form e) the Main Form (showing the calculated total)  (1 point) Using the following test data, write the answers calculated by the program or the message displayed Deck, Truck, Wheel Misc Subtotal Sales Tax Total Products Cost Master Thrasher Grip tape 7.75 axle Bearings 51mm Assembly Dictator of Grind Riser pad 8 axle Nuts&Bolts 55mm Assembly Street King Assembly 8.25 axle 58mm  (2 points) Print the code. Circle the following items and label with a,b,c etc. a) Code that displays the Deck form. b) Code that displays the Truck Assemblies form. c) Code that displays the Wheel Sets form. d) Code that displays the Misc Products form. e) Code or function that calculates the sales tax. f) Code or function that calculates the total cost.

Professional Programmer Best Practices Who did you work with while creating the programs? Who did you buddy test for? Who buddy tested your programs? Subtract 3 points for each program if you did not buddy test for anyone or you did not have your program buddy tested.

Submission Instructions

Chapter 7 Test Plan ITP 112 Page 5 Staple together in the following order and submit. Sorry this is different from last week.

1. Self-test for #1 Conference Registration System 2. Self-test for #2 Shopping Cart System 3. Self-test for #6 Skateboard Designer 4. Buddy test for #1 5. Buddy test for #2 6. Buddy test for #6 7. Word document printout with the GUIs for all 3 programs. 8. Your printed code for #1. 9. Your printed code for #2.

10. Your printed code for #8.

Chapter 7 Test Plan ITP 112 Page 6