A Blog from QualiTest

Raina Dey Scenarios: Negative Testing Gets Pumped!

Bringing a testers mindset and vision to everyday life. This time Raina is breaking down the gas pump at the local gas station. Just what does it take to properly test such things? Take it away Raina!

Welcome, my children. My name is Raina Dey, and I have returned for my third installment so far (if these get published in the right order – I hope someone can QA that). Did you miss me? My improbably appropriate name once again is atop an article! This importantly gives me another chance to talk to you about figuring out where things might break. Remember, it is just an app; it has no feelings, and your job is to break it if possible through negative testing. Negative testing is not a sad thing; it is a happy occasion knowing that things work!

So, today we are going to look at gas pumps. Actually, we are going to look at testing gas pumps. Looking at gas pumps is just something I do when trying to end on an even dollar amount — a little OCD on my part. I guess it is part of the “attention to details” that made me want to get into testing. Anyways, this will be more like our first problem (negative testing for an ATM) than my blackjack one. Keep in mind, we are only going to focus on negative testing, although we will include a little extra to play with alterations to the maximum charge. So let’s just move onwards to the oopsies.

1. Pay inside

a. Attendant has not authorized pump to pump (… so the pump won’t pump)
b. Invalid card is not recognized if used inside (includes invalid strip, facing wrong way, unacceptable card type)
c. User is authorized to pump a prepaid amount but is trying to pump beyond (so it stops pumping at that amount), and re-inserting the spent card is blocked
d. Try pumping > $75 (standard preset maximum) after prepaying > $75 (test with both fixed amount and unlimited amount pay methods)
e. Repeat previous step after changing maximum to $80 to ensure cutoff at $80
f. Repeat previous step after changing maximum to $50 to ensure cutoff at $50

2. Pay credit (includes prepaid)

a. Valid card is blocked when a non-matching ZIP code is entered
b. Invalid card is not recognized if used inside (includes invalid strip, facing wrong way, unacceptable card type)
c. User is authorized to pump a prepaid amount but is trying to pump beyond (so it stops pumping at that amount), and re-inserting the spent card is blocked
d. Try pumping > $75 (standard preset maximum) after prepaying > $75 (test with both fixed amount and unlimited amount pay methods)
e. Repeat previous step after changing maximum to $80 to ensure cutoff at $80
f. Repeat previous step after changing maximum to $50 to ensure cutoff at $50

3. Pay debit (includes prepaid)

a. Valid card is blocked when a non-matching ZIP code is entered
b. Invalid card is not recognized if used inside (includes invalid strip, facing wrong way, unacceptable card type)
c. User is authorized to pump a prepaid amount but is trying to pump beyond (so it stops pumping at that amount), and re-inserting the spent card is blocked
d. Try pumping > $75 (standard preset maximum) after prepaying > $75 (test with both fixed amount and unlimited amount pay methods)
e. Repeat previous step after changing maximum to $80 to ensure cutoff at $80
f. Repeat previous step after changing maximum to $50 to ensure cutoff at $50

4. Other things

a. If no response to receipt request, the preset default is used at timeout time
b. Time out and return to seeking new customer if too long a wait on all screens

5. Anything else? (this drifts into positive testing)

a. All of the above should be tested on all 3 grades of gas plus diesel
b. Confirm that the pump should know to shut off once the tank is full
c. When the receipt paper roll runs low, a message needs to be sent to the office identifying which pump needs new paper
d. If self-service and assisted have different prices, make sure that everything above works using the self-service price at handicap pumps
e. We won’t address pumps that accept cash – you can go back to the ATM problem if you want to experience that kind of fun

Can you think of anything else? That one wasn’t so bad. I want to do another one. Please write in comments below this blog post and help this list become more complete if you can find anything I may have missed, or suggest what we should test next time. This is Raina Dey, of Raina Dey Scenarios, saying good night.



46 thoughts on “Raina Dey Scenarios: Negative Testing Gets Pumped!

  1. Robert Day says:

    A few things:

    1b: surely card validation if the customer is paying inside is a question of the EPOS terminal, not the pump? Do you want to validate that data transfer from pump to terminal has worked OK? (Here in the UK, it’s not uncommon to find that if you’ve tried to stop pumping at a given even currency amount, the terminal inside the station has ‘clicked over’ to the next penny.)
    4: I would see a need to test for correct clearing of the pump display when the transaction had been completed and the next customer comes along; that the pump zeroes correctly; and that the process of changing the product price works correctly.

    Also: the pump needs to cope with switching from customer to customer with different payment methods – so presenting a different type of card or choosing to pay inside doesn’t lock the pump up in any way.

    And: if there is a vendor loyalty card scheme which incorporates at-pump scanning, does this system interface correctly with the pump and transfer the value of goods delivered to the loyalty card system in an understandable way? (This wiull depend on how such schemes are striuctured, and whether they do price-to-points conversion on the fly from the POS terminal or upload just the value of the goods delivered and crunch the nbumbers back on the loyalty card system.)

    1. Raina Dey says:

      Thank you, R Day (from R Dey), for your comments and starting the conversation. I’ve drifted into a slippery slope between positive and negative testing with this example, and I fully agree that your suggested caching checks are needed testing. I think this is more confirming correct values on a happy path, but it is my fault for playing with a maximum cutoff and calling it negative testing, thus opening the door. Certainly this is an interesting testing situation, and there is more to solving this problem than I have listed.

  2. Daniel says:

    Interesting blog post! I had never thought of that before.

  3. roofing says:

    … [Trackback]

    […] There you will find 61307 more Infos: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  4. … [Trackback]

    […] Find More here|Find More|Find More Infos here|Here you will find 45017 more Infos|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  5. Taruhan Bola says:

    … [Trackback]

    […] Read More here|Read More|Read More Informations here|There you will find 31269 more Informations|Informations to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  6. casino games says:

    … [Trackback]

    […] Read More on|Read More|Read More Infos here|There you can find 41937 more Infos|Informations to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  7. iraq Seo says:

    … [Trackback]

    […] Find More here|Find More|Read More Informations here|Here you can find 74664 more Informations|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  8. … [Trackback]

    […] Read More here|Read More|Read More Infos here|Here you will find 88045 more Infos|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  9. … [Trackback]

    […] Read More on|Read More|Find More Informations here|There you will find 29793 additional Informations|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  10. … [Trackback]

    […] Read More here|Read More|Find More Informations here|There you can find 66693 more Informations|Infos on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  11. … [Trackback]

    […] Find More here|Find More|Find More Infos here|Here you can find 53733 additional Infos|Infos on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  12. … [Trackback]

    […] Find More on|Find More|Read More Informations here|There you will find 16039 additional Informations|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  13. adwords help says:

    … [Trackback]

    […] Find More here|Find More|Read More Infos here|There you will find 19536 more Infos|Informations to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  14. … [Trackback]

    […] Find More on|Find More|Find More Informations here|There you will find 51899 additional Informations|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  15. donna vinci says:

    … [Trackback]

    […] Read More on|Read More|Read More Informations here|Here you can find 22960 additional Informations|Informations to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  16. cmovieshd says:

    … [Trackback]

    […] Find More on|Find More|Find More Infos here|Here you can find 11062 more Infos|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  17. … [Trackback]

    […] Read More on|Read More|Read More Infos here|There you will find 59969 more Infos|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  18. … [Trackback]

    […] Read More here|Read More|Find More Infos here|Here you can find 96281 additional Infos|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  19. 움짤 says:

    … [Trackback]

    […] Read More here|Read More|Read More Infos here|Here you will find 89051 additional Infos|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  20. … [Trackback]

    […] Find More here|Find More|Read More Informations here|There you can find 31823 more Informations|Informations to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  21. local time says:

    … [Trackback]

    […] Read More on|Read More|Read More Informations here|There you will find 85686 additional Informations|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  22. … [Trackback]

    […] Find More on|Find More|Read More Informations here|There you will find 28424 additional Informations|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  23. … [Trackback]

    […] Find More here|Find More|Find More Infos here|There you can find 34052 additional Infos|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  24. … [Trackback]

    […] Read More here|Read More|Find More Informations here|Here you can find 28162 additional Informations|Informations to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  25. gitano says:

    … [Trackback]

    […] Read More here|Read More|Read More Infos here|Here you can find 99849 more Infos|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  26. klick here says:

    … [Trackback]

    […] Read More here|Read More|Read More Infos here|There you will find 87132 more Infos|Infos on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  27. … [Trackback]

    […] Find More here|Find More|Read More Infos here|Here you will find 58790 additional Infos|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  28. seks kamery says:

    … [Trackback]

    […] Read More on|Read More|Find More Infos here|Here you will find 33471 additional Infos|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  29. … [Trackback]

    […] Find More on|Find More|Read More Infos here|Here you will find 39845 additional Infos|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  30. … [Trackback]

    […] Read More here|Read More|Read More Informations here|There you will find 58572 more Informations|Infos on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  31. … [Trackback]

    […] Find More on|Find More|Find More Informations here|There you will find 18692 additional Informations|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  32. krwawienie says:

    … [Trackback]

    […] Find More here|Find More|Read More Informations here|There you can find 76681 more Informations|Infos on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  33. … [Trackback]

    […] Find More here|Find More|Find More Infos here|There you will find 33716 more Infos|Infos to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  34. … [Trackback]

    […] Read More on|Read More|Read More Informations here|There you will find 30079 additional Informations|Informations to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  35. … [Trackback]

    […] Find More on|Find More|Read More Informations here|There you can find 46392 additional Informations|Informations to that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  36. freshamateurs233 abdu23na32

    freshamateurs233 abdu23na3288 abdu23na56

  37. newtube sirius938 abdu23na30

    newtube sirius938 abdu23na3013 abdu23na66

  38. jigdf43g6254 afeu23na66

    jigdf43g6254 afeu23na6621 abdu23na75

  39. hd videos tubepla.net815 afeu23na82

    hd videos tubepla.net815 afeu23na8218 abdu23na75

  40. newtube tube planet443 afeu23na35

    newtube tube planet443 afeu23na3511 abdu23na31

  41. … [Trackback]

    […] Read More on|Read More|Find More Infos here|Here you will find 68727 more Infos|Infos on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  42. horse love says:

    … [Trackback]

    […] Find More here|Find More|Find More Informations here|Here you can find 57753 more Informations|Informations on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  43. pune escorts says:

    … [Trackback]

    […] Find More here|Find More|Read More Informations here|There you can find 51966 more Informations|Infos on that Topic: qualitestgroup.com/blog/testing-as-a-lifestyle/raina-dey-scenarios-negative-testing-gets-pumped/ […]

  44. 728y5L9cUrs says:

    728ZLJ7rNqj

    728hJ3v91wb

  45. hdmobilesex.me

    hdmobilesex.me

Leave a Reply

Your email address will not be published. Required fields are marked *

*

15 − 2 =