In this tutorial, we will discuss how to write test cases for a pencil. This guide will teach you how to write effective and efficient test cases in QA/Testing interviews or for testing a product. I wanted to have a bit of fun and at the same time add some of my experience to give you a list of test cases if I were testing a pencil.
When testing a pencil, you’ll want to try it out on different types of paper. This includes glossy, matte, photo, and standard printer paper. Doing this gives you a good idea of how the pencil performs under different conditions. Plus, it will give you a chance to see how the pencil feels in your hand while using these different types of paper.
Types of Pens
He is a certified Software Test Engineer by profession and a blogger & a YouTuber by a choice. He has extensive experience in the field of Software Testing. Furthermore, he loves to be with his wife and a cute little kid ‘Freedom’. Here we can look into what the interviewer expects from the candidate to respond.
- Incase the requirement document is not available and we are simply writing test cases then we will go with exploratory testing.
- When you’ve been working in the Software Quality Assurance industry for as long as I have, your mind sometimes goes into overdrive.
- You might be interested in learning about a non functional requirements checklist.
- Interviewers love questions that are scenario based, open-ended, and vague, but they would be familiar even for a person from a non-technical background.
If you’re interested in knowing what is involved with becoming a software tester, then feel free to read the article. Below are a list of functional and non functional test cases for a pencil that you should add to your test plan. And the candidate proceeds with the basic functionality mentioned above and gives various types of testing along with the scenarios. There is an interesting LinkedIn post where a QA manager explains how he interviewed a candidate with these pencil test cases. Let’s look into a paraphrase of that interview below.
Security Testing (health and safety)
You might want to read my article on how to write a test case if you need some guidance. The expected result will be determined by your specifications. Surprisingly enough, there are some of you out there that actually DO test pencils. The hardness of the pencil ranges from 1 to 4, where 1 is the softest and 4 is the hardest. In the context of pen test cases, our test data would be the type of pencil we have to use, the darkness of the pencil etc.
Incase the requirement document is not available and we are simply writing test cases then we will go with exploratory testing. I can really appreciate how these products are tested as I didn’t even think about half of these scenarios until I actually put some thought into it. If it works as expected then then the end user can sign off the acceptance tests and the product is potentially ready for the real world. I’m sure there are tons more but each of these pens have their own functions and should be tested in their own specific way.
What is Shift Left Testing? Definition, Benefits, Challenges
The perfect pencil will leave a light mark on your skin. When testing a pencil’s lead, you should draw a line using light pressure. If the lead wears down with just one or two strokes, it’s too soft and will not provide enough writing material. On the other hand, if the point is still very sharp after one or two strokes, it’s too hard and may cause paper tears due to its brittle quality. Since the focus is to check and cover the different features to be tested instead of creation of formal test cases, so, we are sharing test scenarios here for faster readability. For the exact difference between test cases and test scenarios, check our post – Difference b/w Test Case and Test Scenario.
If you feel, we have missed some test cases, please let us know in the comments. As a tester we should test the limitations of the system. For example, if you test an application server, we need to know how many IT blog requests the server can serve concurrently and what percentile of requests get responses below the SLA. Verifies the print paper result with a predefined Pencil 2HB RGB values with the image RGB values.
Ask Questions
The candidate is broadening the scope of the testing, thinking about the colour of the pencil but they are not getting to the test concept yet. When performing testing we should know exactly on which product or surface we are testing it. Test data is nothing but data that is specifically created for input for a certain test.
Comparing the pen against the design is the same as comparing to the User Interface Specification(s).. I’m using some assumptions and also the information that is available on the official website to base my requirements from. As I mentioned above, in this article, I’m only going to look at a specific type of Pen. I will have to call out the BIC company for their incredibly awful website with terrible usability. I couldn’t find their flagship BIC product which was VERY frustrating. As I was writing this paragraph, the word ‘Pen Test’ came to mind.
First things first, Identify and cross check the system under test without any ambiguity. Gather functional requirements and functional specifications of the system. However, do not hesitate to check the requirements during your test planning. The manufacturer might not plan for the pencil to be put in a blender and might not design it to survive such treatment.
I hope you are confident enough to write test cases of a Pen and Im wrapping up this post “Test Cases for Pen” here. Here we have covered some negative test cases that check the applications behaviour and robustness under unforeseen circumstances. If you have benefitted from this article or feel someone else can, please feel free to share the knowledge. Whilst writing the test cases above, I actually held the exact model of the pen in my hand and looked at the possible test cases I could think of. Although packaging isn’t really in scope for this article.
Negative Test Scenarios For Pen
You would also look at how the pen actually fits inside the box as per specification. I checked this on black, blue and red pens which I currently have at home and the lids were in different positions. The positioning of the lid against the pen should be exactly the same position for all pens.