Monday, September 17, 2012

18/9


Testing Plan

Exceptions

Try to input into the pizza choice textbox before the customer details have been confirmed
Nothing

Try to click the next button before the customer details have been confirmed
Nothing

Try to click the confirm order button before the customer details have been confirmed
Nothing

Try to click the confirm details button order button before the customer details have been confirmed
Unhandled format exception; where there is the check to see if the phone number is a number. It seems I forgot to add the try catch statement over it. This stopped the exception, but when the program is re-started on the invalid message; it brings up the starting message and then the summary of the details entered, which is nothing. Once you continue pressing yes or no to the details; the program restarts, and works like before the error. I think the confirm detail button may have something causing it to engage once the program re-starts after the error initially. To try and fix this I will disable the button and reengage it when its needed. Disabling the button the button on the invalid message method didn’t change anything.
A message saying either invalid input or the summary of the customer details
After above; if there is an invalid input when you click ok or you click no to confirming the customer details; the program will reset. But if all is correct and you click yes to the customer details; the details textboxes and confirm button will disable as the next button confirm order button and pizza choice textbox is enabled.   

Try to input into the name textbox before the customer details have been confirmed
The text will appear

Try to input into the address textbox before the customer details have been confirmed
The text will appear

Try to input into the phone textbox before the customer details have been confirmed
The text will appear

Start program and chose any order type (pick up/ delivery)
The pizza menu should look like the following;
0: Pineapple $8.50                                                                                                                                                               1: Cheesy $8.50                                                                                                                                                                                    2: Bacon $8.50                                                                                                                                                                          3: Apricot $8.50                                                                                                                                                                      4: Ham $8.50                                                                                                                                                                               5: All in one $13.50                                                                                                                                                                        6: Double Cheese $13.50                                                                                                                                               7: Chicken supreme $13.50                                                                                                                                                8: Seafood $13.50                                                                                                                                                      9: Mexican fiesta $13.50
With the program full running I found that this test failed. This problem was immediately tracked to the use of my line break syntax. I used “</br>”; then I changed all the line breaks to the other syntax I know, “\r\n”; this resolved that problem. But there was still one other difference; the first line said defult 0: Pineapple $8.50, this was the part in the label on  the form, I removed this.

1 comment:

  1. Great to see you're onto the testing phase and documenting what you're figuring out and what still needs to be solved.

    ReplyDelete