P5 test an event driven program
Item to Test How to test Why test Expected Result Actual result Changes
Name 1 Check if I can type Clients should not be Nothing will happen Numbers appeared in I had to delete the text
numbers into the name able to type numbers when you try to add the text when they box and add a masked
text box into the text box as no numbers into the text were typed on the text box. Then I had to
one has numbers in box keyboard change the object
their name properties. I did this by
changing the “mask” to
multiple capital “L”
Name 2 Check if I can type Clients should be able The letters that are Clients were able to I did not make any
letters into the name to type in their name typed on the keyboard type their names with changes as the test was
text box into the text box with should appear in the the letters on their a success.
the letters on their text box keyboard
keyboard
Date 1 Check if I can type Clients should only be When clients press the Clients were only able I did not make any
numbers into the date able to type numbers numbers on the to type in numbers for changes as the test was
box into the date box, so keyboard, they should the date box a success.
the business knows appear on the date box
when the form was
filled in
Date 2 Check if I can type Clients should not be When clients type Clients were not able to I did not make any
letters into the date box able to type letters into letters into the date box type in letters in the changes as the test was
the date box as letters the letters should not date box a success.
are not required appear
Telephone 1 Check if I can type Clients should only be When clients press the Clients were only able I did not make any
numbers into the able to type numbers numbers on the to type in numbers for changes as the test was
telephone box into the telephone box, keyboard, they should the telephone box a success.
so the business knows appear on the
how to contact them telephone box
Telephone 2 Check if I can type Clients should not be When clients type Clients were not able to I did not make any
, letters into the name able to type letters into letters into the type in letters in the changes as the test was
text box the telephone box as telephone box the telephone box a success.
there are no letters in a letters should not
telephone number appear
List box 1 SRI I will click the SRI car Clients should only be When the SRI option is Clients were only able I did not make any
option and then click able to select one selected It will highlight to select one option in changes as the test was
another option in the option as the form is blue and when another the list box a success.
list box to check if it designed to only option is selected the
only allows me to select customize one car at a SRI option will not be
one option within the time highlighted.
list box
List box 1 Expression I will click the Clients should only be When the expression Clients were only able I did not make any
trim expression trim car able to select one trim option is selected It to select one option in changes as the test was
option and then click option as the form is will highlight blue and the list box a success.
another option in the designed to only when another option is
list box to check if it customize one car at a selected the expression
only allows me to select time trim option will not be
one option within the highlighted.
list box
List box 1 Elite I will click the elite car Clients should only be When the elite option is Clients were only able I did not make any
option and then click able to select one selected It will highlight to select one option in changes as the test was
another option in the option as the form is blue and when another the list box a success.
list box to check if it designed to only option is selected the
only allows me to select customize one car at a elite option will not be
one option within the time highlighted.
list box
Radio button 1: petrol I will click the radio This is tested so when When the petrol radio When I selected the I did not make any
button that Is named the client selects a button is selected the petrol radio button the changes as the test was
“petrol” and check if petrol engine type, they diesel list box should be diesel list box was a success.
the diesel list box is do not accidently click a disabled disable so I was not able
disabled diesel engine size to choose a diesel
engine size.
Radio button 2: diesel I will click the radio This is tested so when When the diesel radio When I selected the I did not make any
, button that Is named the client selects a button is selected the diesel radio button the changes as the test was
“diesel” and check if the diesel engine type, they petrol list box should be petrol list box was a success.
“petrol” list box is do not accidently click a disabled disable so I was not able
disabled petrol engine size to choose a petrol
engine size.
List box 2: 1.4 manual I will click 1.4 manual Clients should only be When the 1.4 manual Clients were only able I did not make any
engine size option and able to select one option is selected It will to select one option in changes as the test was
then click another option as a car can only highlight blue and when the list box a success.
engine size option in have one type of engine another option is
the list box to check if it size. selected the 1.4 manual
only allows me to select option will not be
one option within the highlighted.
list box
List box 2: 1.6 I will click 16 automatic Clients should only be When the 1.6 automatic Clients were only able I did not make any
Automatic engine size option and able to select one option is selected It will to select one option in changes as the test was
then click another option as a car can only highlight blue and when the list box a success.
engine size option in have one type of engine another option is
the list box to check if it size. selected the 1.6
only allows me to select automatic option will
one option within the not be highlighted.
list box
List box 2: 1.9 turbo I will click 1.9 turbo Clients should only be When the 1.9 turbo Clients were only able I did not make any
engine size option and able to select one option is selected It will to select one option in changes as the test was
then click another option as a car can only highlight blue and when the list box a success.
engine size option in have one type of engine another option is
the list box to check if it size. selected the 1.9 turbo
only allows me to select option will not be
one option within the highlighted.
list box
List box 3: 1.3 manual I will click 1.3 manual Clients should only be When the 1.3 manual Clients were only able I did not make any
engine size option and able to select one option is selected It will to select one option in changes as the test was
then click another option as a car can only highlight blue and when the list box a success.
engine size option in have one type of engine another option is
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller hasanqadri12003. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £7.49. You're not tied to anything after your purchase.