Test Cases For Pen Or Test Scenarios For Pen: We often see that interviewers ask us to write the sample test scenarios for pen, and you can also test cases on Payment Gateway. It becomes quite harder to write them unless we break the test cases into multiple categories: performance, specification, negative tests, usability tests, etc. So in this article, we will write some of the sample pen test cases, both positive and negative test cases for pens, in an excel sheet.
Firstly, we need to understand the requirements against which the pen was created. Our test scenarios for the pen should be based on these factors Type of Pen (Ballpoint, Ink, or Felt tip), the pen’s functionality, Compatibility, Installation and Uninstallation, Performance, and Usability.
Post On: | Test Cases For Pen |
Post Type: | Qa Test Case Template |
Published On: | www.softwaretestingo.com |
Applicable For: | Freshers & Experience |
Get Free Updates: | From Telegram Group |
Normal people use the pen being tested, which would be used for their day-to-day writing needs, not somebody like an astronaut in space with zero gravity or a deep-sea diver who wants to write underwater.
Below are the test scenarios for the pen to be tested and categorized based on the type of Test.
Functionality Test Cases For Pen
- Verify “type of Pen” (Ball Point, Ink, Felt tip), etc. Let’s assume it’s a Ball Point pen, as further scenarios will change based on the Pen type.
- The test Pen color is as per specification.
- Test if the ink color is as per specification.
- Test ink impression/color on paper remains consistent until the ink in the refill gets over.
- Test Dimensions of the Pen, Size length, and Shape of the Pen meets the requirements.
- Test if the pen writes smoothly and continuously without breaks or blots on the paper.
- Test if the ink on paper dries quickly as per requirement (assume less than 1 second as per requirement).
- Test if the thickness of the line drawn by the pen tip is as per specification (0.4 mm etc.).
- Keep the pen’s ballpoint in contact with the paper for a considerable amount of time and check if the inkblots.
- Write on different types of paper (smooth, rough, cardboard, etc.) and confirm the pen writes correctly on all types of paper.
- Check if the pen cap has a gripper so the user can firmly plug the pen into the shirt pocket.
- Test if the ink is waterproof. Write on paper, dip the paper in water, and check if the writing/ink has faded or smudged.
- Verify that the ink used does not have a foul odor because of the chemicals used in ink.
- The check weight of the pen is as per requirements.
- Test pens can be used for writing with angles like straight, slant, etc. Different writing angles should not.
- Impact the quality of the impression made on the paper, nor should the pen tip be damaged.
Validate dimensions (length, circumference) and pen weights are per specifications. - Write on paper and see if it works or not.
- Write on the paper of a rough surface and see if it writes or not.
- Write and check if it has the same link as a specification.
- The pen should have enough grip to get hold of it.
- The pen should work on paper.
- Pen having more than one refill to work with shall have a proper click button so the user can opt for the suitable refill.
Performance test scenarios
- Test if Pen works in extreme temperatures like less than 0 degrees and at higher temperatures like 60 etc.
- Test if the pen works in higher and lower altitudes, i.e., in different gravity.
- Test if the pen works with lower and higher atmospheric pressures. The ink may not flow evenly in lower or higher atmospheric pressures.
- Test if the pen functions if it is used for writing continuously for a longer duration (say for 10 hours).
- Keep scribbling on paper vigorously and continuously for several minutes to check friction on the ball does not damage the pen tip.
- Test how much can be written using one complete refill. Measure the distance it can write and compare it with the specification.
- Test if the ink dries if the pen is kept open (without a cap) for longer.
- Dip the pen in water for a considerable amount of time, take it out, dry it out in the open air and write. Verify pen still writes without any issues.
- Check it works in continuous writing.
- Check if the temperature has any effect on the pen ink or tip.
- Check the pen works on wet paper.
- Check the pen operates by keeping the pen in a horizontal position while writing with the paper on a wall.
- Check if the pen operates if the tip is held facing a vertical position for a long.
- Check if the tip of the pen works on both rough surfaces and then back to the paper’s smooth surface.
- Check if the tip works fine while writing on hand.
- When put in various cold and hot temperatures, Pen’s speed should not get effective
- The pen should work on board
- The pen should not work on leaves.
- The pen should work on clothes.
Load Test Cases For Pen In Excel Sheet
- Drop the pen from a reasonable height say about 5 to 6 feet multiple times with different angles like the Pen tip hitting the floor dead on and the pen falling flat on the ground etc., Verify the pen is not broken and the pen still writes without issues.
- Press the pen hard on to surface while writing, check if the pen still writes and the Pen tip or pen itself does not break.
Drop the pen on the ground, and stamp it to test if it can bear reasonable external weight (e.g.: up to 100 Kg). Verify pen is not broken and still writes as expected. - The pen should work put force abruptly.
Compatibility Test Cases For Pen In Excel Sheet
- Write on different type’s materials like leather, cloth, plastic sheet, rubber etc, Verify ink dries quickly.
Test compatibility of refills of the same and other brands.
Installation and Un-installation Test Scenarios Of Pen
- Disassemble and assemble the pen. Remove the cap, remove the refill, etc, and put it back. Test if the pen writes as expected.
- Change Refill and Test if the pen writes as expected.
Usability Test Scenarios Of Pen
- Test if Pen is usable across ages (Children to age) and by different Professionals like Lawyers, Doctors, Businessmen, etc. can write comfortably with the pen.
- Check with the different audiences if the colour and dimension of the Pen are acceptable for their usage or profession.
- Test if ink leaks from refill when the pen is kept upside down for a longer duration.
- Test materials used in the pen are recyclable.
- Test to see if there are smaller parts in the pen that people can accidentally swallow, especially children who have a tendency to stick the rear end of the pen in their mouth while thinking and some people have the habit of the chewing pen as they think.
- The test external material of the pen is made of non-toxic material. Check pen has a firm grip, comfortable to hold, and does not slip while writing (even for a longer time, when fingers and hands sweat).
- Pen’s should not leak when open.
- Pen’s should be refilled if its not a use and throw kind of pen.
- The pen should have at least a refill in it.
Portability Test Scenarios Of Pen
- Pen’s weight should not be more than 10gms.
Design Based Test Case For Pen
Each pen is unique in design and follows a particular pattern design. So we have to write the test cases for the same.
- Does it make follow the design specification?
- Does it have the colour as per specification?
- Does the tip of the pen as per the specification?
- Does the grip hold as per the specification?
- Does the pen gets closed properly either by cover or with the click of a button at the top?
- Does the logo of the company is placed as per the design specification?
Negative Test Cases For Pen
- Check whether it has ink or not.
- Check it has the right coloured ink.
- Check it works for a specific meter specified in the specification.
- Verify the capacity of the tip by putting the tip in the water and then trying to write with it.
- Verify if the tip works on both rough and smooth surfaces by writing with various angles and then using it back on the normal paper surface.
- Verify it works on a smooth surface.
Test Scenarios For Pen
- Verify the type, whether it is a ballpoint, ink or gel pen
- Verify the outer body, whether it should be metallic, plastic or any other material as per the specification
- Verify that length, breadth, and other size specifications.
- Verify that it is with a cap or without a cap
- Verify that it has a rubber grip or not
- Verify the colour of the ink.
- Verify the colour.
- Verify the size of the tip.
- Verify the company name or logo of the maker is correct and at the desired place
- Verify that it is smooth
- Verify if the ink gets leaked in case it is tilted upside down
- Verify if the pens get leaked at higher altitude
- Verify the type of surfaces we can write at
- Verify if the text written by the pen is erasable or not
- Verify its ink condition at extreme temperature is as per the specification
- Verify the pressure up to which the pen’s tip can resist and work correctly
- Verify that is breakable or not at a certain height as the specification
- Verify text written doesn’t get faded before a certain time as per the specification
- Verify the effect of water, oil and other liquid on the text written
- Verify the condition of ink after a long period of time is as per permissible specification or not
- Verify the total amount of text that can be written in one go
- Verify that the ink is waterproof or not
- Verify that it can write when used against the gravity- upside down
- Verify that in the case of the ink pen, the pen’s ink can be refilled again
- Verify whether it has a transparent body or not.
- verify that can we able to see a refill or not.
Conclusion:
There are many other additional tests, but these are the ones that you can come up with when you have no visual idea of the pen and also don’t know the specification of the product. I hope these test cases help you with interviews or while discussing it with peers. Feel free to let me know if you have any suggestions or comments.
Pen test case 3rd no point some information is missing
Thanks, Smurti For Informing… we have updated the missing things