How To Write Test Cases For Pen (Test Cases For A Product)
In this post, we will learn how to write test cases for Pen. It is one of the common manual testing interview questions.
Earlier we have discussed some of the related posts and here are those for your reference.
- Test Case Template with Detailed Explanation
- Test Cases for Registration Page
- Test Cases for Login Page
- Test Cases for Gmail
- Test Cases for ATM Machine
- Test Cases for Library Management System
- Test Scenario vs Test Case
- Test Strategy vs Test Plan
- 8 Types of Test Cases To Be Automated
- 8 Types of Test Cases Not To Be Automated
Usually, we do write test cases for a product by having the requirement document of that product with us. Incase the requirement document is not available and we are simply writing test cases then we will go with exploratory testing.
If an interviewer asks you to write the test cases for a pen then you can go with exploratory testing for testing a pen. You have to cover all the features of the pen and write test scenarios of pen.
Don’t miss: Related Test Cases
Test Scenarios For Pen
Let’s get started with some sample test scenarios for pens based on different types of software testing.
UI (User Interface) Test Scenarios of Pen
These test cases helps you to test the Graphical User Interface of a pen.
- Verify that the maker’s brand and/or logo is readily visible on the pen.
- Verify the text available on the pen is is readable and apparent.
- Verify that the pens material is used as specified in the requirement document.
- Verify that the color of the pens body is same as specified in the requirement document.
- Verify the button color to ensure it matches the refill color. (if the pen has a variety of color buttons).
- Verify that the pens length and diameter are designed as specified in the requirement document.
Functional Test Scenarios For Pen
Here we have covered some functional test cases to check the functionality of the pen.
- Verify to see if you can type smoothly.
- Verify the type of pen such as Ink pen, Ballpoint pen, Gel Pen etc.,
- Verify whether the user can properly write on a variety of papers.
- Verify whether the pen is able to write on surfaces like cardboard, rubber etc., other than paper.
- Verify the consistency of the color of the pens ink.
- Verify the odor of the pens link
- Verify whether the pen is with cap or without cap.
- Verify the weight of the pen. It should be too heavy.
- Verify the pen’s outer body to ensure it is sturdy. It should not be breakable with ease.
- Verify to see whether the text written by the pen (not a gel or a ink pen) is water-resistant.
- Verify to see whether the user can change the refill of the pen easily incase of ballpoint and gel pens.
- Verify to see whether the user can refill the pen with all the supported ink types incase of an ink pen.
- Verify the mechanism for refilling the ink pen is simple to use.
- Verify the grip of the pen and make sure whether the user can hold the pen without discomfort
- Verify to see whether the pen is making any noise while writing.
- Verify the pen for sharp edges and corners to ensure that it is not dangerous.
- Verify there is no ink has overflowed or stopped flowing completely.
- Verify the line drawn by the pen is as expected in terms of width.
- Verify to see whether the ink will dry rapidly by keeping the pen open for a few moments.
- Verify the ink and body of the pen to see if they’re made of non-toxic materials.
Negative Test Scenarios For Pen
Here we have covered some negative test cases that check the applications behaviour and robustness under unforeseen circumstances.
- Verify the functionality of a pen at temperatures more or less than room temperature.
- Verify the functionality of a pen at extreme altitude.
- Verify the functionality of a pen at zero gravity.
- Verify the functionality of a pen when a user tries to write against gravity (upside down)
- Verify the functionality of a pen when a user tries to write on unsupported surfaces like wood, plastic, steel, glass etc.,
- Verify the functionality of a pen on applying extreme pressure.
- Verify the functionality of a pen when the pen gets wet.
- Verify the functionality of a pen when the pen drops from some height facing the point on the hard surface like table.
- Verify the functionality of a pen when the pen drops from some height facing the point on the smooth surface like bed.
- Verify the text written by a pen is intact when the text gets wet.
- Verify the text written by a pen is intact when we try to erase it with our hand or eraser.
Peformance Test Cases For Pen
Here we have covered some performance test cases to check the performance of the pen.
- Verify how fast a user write with the pen on various surfaces.
- Verify if the pen will operate similarly even after extensive usage for hours without interruption.
- Verify that the tip or nib of the pen hasn’t been damaged after a lengthy period of writing.
- Verify how many characters a user can write with the full ink of a fountain pen or full refill of a ballpoint pen or gelpen.
Conclusion
Here in this post, we have convered general test cases of a pen even though there are different types of pen in the market such as Fountain pen, Ballpoint pen, Rollerball pen, Felt-tip pen, Gel pen.
I hope you are confident enough to write test cases of a Pen and Im wrapping up this post “Test Cases for Pen” here.
Writing test scenarios for a product takes some practice. A well-written test case should enable any tester to comprehend the tests and run them with ease, saving a lot of time in the long run.
We’ve previously posted a video on How To Write Test Cases.
Like this post? Don’t forget to share it! If you have queries, please comment below.
Related Posts – Test Cases
Related posts:
Here are a few hand-picked articles for you to read next:
- How To Write a Good Defect Report
- Why Did You Choose Software Testing As A Career
- Test Plan Template Detailed Explanation
- Web Cookie Testing – Test Cases of Cookie Testing