IT Education

Test Cases for Pen UI, Positive and Negative Test Cases

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

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.

Requirements and Specifications

One of the most important aspects of quality assurance is ensuring that products are consistent and meet customer expectations. To test a pencil for quality assurance, you’ll want to inspect the lead under different light sources. What if this is the only pencil the user expects to own for the next five years? If there’s no consistency, then the pencil may not be worth buying or using because it won’t be reliable. Let’s get started with some sample test scenarios for pens based on different types of software testing. I hope by now, based on these sample test cases for pen, you must have got a fair idea of the test case creation process.

test case for pencil

Below I’ve listed each test case into specific areas of functionality to make your life easier. Below you’ll find a combination of positive and negative test cases for a pen which you may want to include in your test plan or as part of a user journey. Test the interoperability of the pencil with several other items.

Sample Test Cases 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.

For example, in the image below, I took a random sample of pens that I have at home and lined them up together. I noticed a few areas of improvement that the BIC company can undertake as part of its quality control. They’re not ideal but with IT blog a bit of experience and common sense it gives you somewhat of an idea of what to test. Performance test cases include the test cases that help in quantifying or validating the performance of an application under different conditions.

What is Shift Left Testing? Definition, Benefits, Challenges

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.

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.

Test Cases for Pencil (Positive and Negative)

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.

One of the most important things you can do when testing a pencil is to see how the pencil functions on different materials. Try writing with your pencil on paper, sandpaper, ice, wood, plastic, and glass. Each surface will provide different feedback that can be helpful in your Quality Assurance job interview. Of course, the pencil will not work well on glass, but you should check your requirements and confirm.

How To Write Test Cases for A Pen: Your Complete Guide with Sample Test Cases

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.

  • As I mentioned above, in this article, I’m only going to look at a specific type of Pen.
  • Once your pencil is sharp, you can perform this test to check its hardness.
  • 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.
  • Here we can look into what the interviewer expects from the candidate to respond.
  • 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.
  • If the pencil leaves a mark, it’s too soft and won’t write well.

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.

Shift Left Testing Vs Shift Right Testing

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. Writing test cases for pencils would be a great example of such questions. If you ever have to explain software testing a non software example, a pen is a really good idea.

test case for pencil

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *