How to test the pen?
Date
This is a very popular question to be asked during an interview. However, not all beginners know that it is exploratory testing and are not prepared to do it right way.
Usually, QAs do write test cases for a product by having the requirement document of that product. In case the requirement document is not available and they are simply writing test cases they will go with exploratory testing.
So, what is exploratory testing? According to definition on guru99 it is a type of software testing where test cases are not created in advance but testers check the system on the fly.
They may note down ideas about what to test before test execution. The focus of exploratory testing is more on testing than a “thinking” activity.
If an interviewer asks you to write the test cases for a pen you have to cover all the features of the pen and write test scenarios of the pen.
User interface test cases:
- Verify the length and the diameter of the pen to match requirements
- Verify the outer body of the pen (metal, plastic or other possible material)
- Verify the color of the outer body of the pen
- Verify brand’s logo or/and text to be clearly visible and readable
Functional test cases:
- Check the type of the pen (it could be a ballpoint pen, ink pen or gel pen)
- Check if a user can write clearly on the different types of papers
- Weight of the pen should match requirements
- Verify the pen is with / without a cap
- Check the ink color of the pen
- Check how the ink is visible on the different types of surfaces (wooden surfaces, metal so plastic etc)
- Verify the pen’s ink does not leak when you write something down
- Verify the pen’s ink does not leak at the higher altitude, for example while traveling in the mountains or on airplanes
- Verify the user can easily change or refill the pen
Negative test cases:
- Check the functioning of the pen at extreme temperatures
- Check the functioning of the pen under high pressure while writing
- Verify the user can write on unsupported surfaces like glass or plastic etc
Performance test cases:
- Verify how fast a user can write with the pen on the supported surfaces
- Verify the performance of the pen being used non-stop
- Check the number of characters that could be written without a single refill
This is not the full list of possible test cases for the pen. Use your imagination and creativity and try to add your own cases to the list. Good luck!
WRITTEN BY: Alex Kulko, Speroteck QA team.