How To Write Test Cases for A Pen in June 2024 Complete Guide

Angelo Vertti, 17 de abril de 2024

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 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.

  • In this post, we will learn how to write test cases for Pen.
  • For example, in the image below, I took a random sample of pens that I have at home and lined them up together.
  • You can use the above examples and extend this to pencils such as water colours.

You may not want to spend the extra time testing something that is not (yet) supported. To write test cases for a pen, validate the product is built correctly by analysing the design (UI). Next, look at the functional IT blog items such as all the parts of the Pen and how they integrate together. Include tests for an end user to mimic a real life environment. Don’t forget to look at how the product performs and safety tests.

User Interface Tests

The system shall write on white paper with the specified level of darkness. In your final test plan, you should also include a column called ‘Actual Result’ which will be used to capture the output during your Test execution. There is a breakdown of test steps, a description of the test case  which also includes an expected result.

test case for pencil

Understanding these would help you in creating the test cases of actual software applications. In this post, we will study – how to write test cases for Pen. Verify all the functional specifications of the Pencil. The main use case of the pencil is the ability to write on white paper for Student. Similarly, the main use case for the Carpenter is  the ability to mark readings on wooden piece.

What is Shift Left Testing? Definition, Benefits, Challenges

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.

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.

Real-life Interview Scenario

In this post, we will learn how to write test cases for Pen. It is one of the common manual testing interview questions. Check out the video below from the Official BIC company and get an idea of how the pens are made which will give you an idea of design specifications. As always, ensure you have some user requirements otherwise testing your pen will be difficult and based on lots of assumptions. The basic test case provided in the article might have given the right idea on the test case creation process. The thinking process mentioned there would help you create the test cases of actual software applications.

In the section below, you’ll find a list of different types of pens. Functional test cases are the test cases that involve testing the different functional requirements of the object under test. These test cases cover the testing of the look and feel of the object to be tested which is Pen in our case. Let’s take an example of  2 HB Pencil that is made of solid graphite lead with a wooden covering.

Security Testing (health and safety)

Take our quiz to match your personality and interests with the perfect tech profession. Thankfully being a parent of primary and secondary school kids, I have a stock of pens hidden away for when they’re required. This will be the last testing level before it is ready to be implemented. As part of a system test, you want to test each item in isolation to ensure it works as designed. Does the house look exactly the same as compared to the Architect’s drawings? If it doesn’t then we have an issue so a potential defect needs to be raised.

test case for pencil

Testing the pencil on different surfaces is an essential part of any functional test suite. If it doesn’t, the pencil is probably of poor quality and won’t serve its owner in all possible life events. Once your pencil is sharp, you can perform this test to check its hardness. If the pencil leaves a mark, it’s too soft and won’t write well. If the pencil does not leave a mark, it’s too hard and will break easily.

Blockchain Testing Tutorial – Beginners Guide

A small yet functional item such as a pencil requires so much thought when writing test cases. As always, you should ask lots of questions and NEVER assume the behaviour of how the pencil will work. You can use the above examples and extend this to pencils such as water colours. The quality of the testing you will conduct will usually be a result of the quality of the specification documents. Alternatively if you want to know how to write test cases for a pen then read that article next after this one.

test case for pencil

You should always make sure that you have all of your requirements beforehand. If these are ambiguous or low quality then your testing will be an uphill battle. A small thing like a pencil can have so many different situations and contexts. Try and use as much common sense as possible without relying on too many assumptions. Before you test anything, always remember to firstly look at the situation you are testing holistically. When you’ve been working in the Software Quality Assurance industry for as long as I have, your mind sometimes goes into overdrive.

As an end user, your  job will be to develop test scenarios which mimic day to day usage of the product. Once the product has been integrated tested for functionality, the next stage is to pass it to the end user. You might be interested in learning about a non functional requirements checklist.

test case for pencil