Test scenario means “what to test”. Test scenario defines way to test functionality of the application. It will derived from User story.
In this article we are going to see some examples of test scenarios for daily life things. I hope these sample test scenarios will not only help you in your interviews but will also help you in understanding the test case creation process.
1. Test Scenario for Pen :
- Verify the outer body material of the pen. Check if it is metallic, plastic, or any other material specified in the requirement specifications.
- Verify the type of pen, whether it is a ballpoint pen, ink pen, or gel pen.
- Verify that the user is able to write clearly over different types of papers.
- Verify the color of the ink of the pen.
- Verify that the text written by the pen should have consistent ink flow without leaving any blob.
- Verify if the text written by the pen is erasable or not.
- Check if the text written by the pen is waterproof or not.
- Verify if the pen can support multiple refills or not.
- In the case of a ball and gel pen, verify that the user can change the refill of the pen easily.
- Verify the functioning of a pen when a user tries to write on unsupported surfaces like glass, plastic, wood, etc.
2. Test Scenario for ATM Machine :
- Check the informative text written displayed on the screen is clearly visible and legible.
- Verify that the user is presented with options when the card is inserted correctly.
- Check that no option to continue and enter credentials is displayed to the user when the card is inserted incorrectly.
- Check that the user is asked to enter pin number before displaying any card/bank account detail.
- Verify that there is a limited number of attempts up to which the user is allowed to enter pin code.
- Verify that if a total number of incorrect pin attempts gets surpassed then the user is not allowed to continue further.
- Check that the pin is displayed in masked form when entered.
- Verify that the user’s session timeout is maintained.
- Check that the user cannot withdraw more amount than the total available balance and a proper message should be displayed.
- Check that the user is not allowed to exceed one transaction limit amount.
3. Test Scenario for Calculator:
- Verify the calculator is a normal calculator or a scientific calculator.
- Verify that all the buttons are present.
- Verify that all text written on buttons is readable.
- Verify the arithmetic operations are working fine (+, -, /, * etc.).
- Verify that the calculator gives the correct result.
- Verify the number of digits allowed to enter in the calculator for any operation.
- Verify that BODMAS is applied and the correct result is returned.
- Verify the working of the ON-OFF button in the calculator.
- Check if keeping the calculator unused for a certain period of time, turns it off automatically.
- Verify the state of the calculator when two buttons are pressed simultaneously.
4. Test Scenario for Lift :
- Verify the type of door of the lift is as per the specification.
- Verify the capacity of the lift in terms of the total weight.
- Verify the buttons in the lift is working as per specification.
- Verify that lift moves to the particular floor as the button of the floor is clicked.
- Verify that in case of power failure, lift doesn’t free-fall and get halted in the particular floor.
- Verify if lift interior is having proper air ventilation.
- Verify that at no point lifts door should open while in motion.
- Verify that in case multiple floor number button is clicked, lift should stop at each floor.
- Verify that in case of capacity limit is reached users are prompted with warning alert- audio/visual.
- Verify that inside lift user are prompted with current floor and direction information the lift is moving towards- audio/visual prompt.
5. Test Scenario for GMail :
- Verify that a newly received email is displayed as highlighted in the Inbox section.
- Verify that on clicking the newly received email, the user is navigated to email content.
- Verify that any attachments are attached to the email and are downloadable.
- Verify that unread email count increases by one on receiving a new email.
- Verify that email recipients in cc are visible to all users.
- Verify that email recipients in bcc are not visible to the user.
- Verify that on clicking ‘Compose’ button, a frame to compose a mail gets displayed.
- Verify that the user can attach file as an attachement to the email.
- Verify that sent mails can be found in ‘Sent Mail’ sections of the sender.
- Verify that mail can be sent to non-gmail emailIds also.
All Rights Reserved. © 2024 BookOfNetwork