Writing test cases for mouse device is quite complicated unless we narrow down the device specifications. In this post I have selected generic devicec and written the cases for it. Let’s start with the device selection first and then narrow down to the specific type. Let’s keep the discussion for manufacturing company and other company specific standard out of this for now.
There are multiple types of Mouse devices available –
- Mechanical mouse
- Optical and laser mouse
- Ergonomic mouse
- Laptop or Gaming mouse
- Tactile mouse
For the sake of simplicity, we are going to write the test cases for USB powered optical mouse. As the device is USB powered, there is no need for the device driver installation.
Check the below screenshot of the optical mouse.
Here are some of the cases that you can use to test manually.
Specification Tests
- Check the company logo on specific location.
- Check if the mouse has the specification and identification sticker behind.
- Check if the device has length and width as per the company specifications.
- Check if the optical region works as per the specification.
- Check if the device has USB plug at one end of the wire.
- Check if the device passes the specification tests other than the standard tests.
- Check if the plastic body of the device allows holding with left and right button as per specification.
- Check if the device connections are platform independent.
Interaction Tests
- Check if the USB driver for the mouse is detected by the operating system (Windows, Mac and Linux).
- Check if the device doesn’t require any other specific driver than the standard USB driver.
- Check if the device doesn’t have any hardware conflict during the system boot.
- Check if the device doesn’t have any hardware conflict after the start up during desktop session.
- Check if the mouse pointer is visible after plugged-in in between the desktop session.
- Verify if the device is pointing to the right region while pointing on the screen.
Software Tests
- Verify if the right clicking on the mouse opens context window.
- Verify if the left clicking with the mouse opens the application or selects the regions on screen.
- Verify if the left click allows drag and drop of desktop objects like file, folder and media.
- Verify if the left click allows the selection of the desktop session objects.
- Verify if the double clicking the file, folder and media files opens or does the operation as intended.
- Verify if the scroll works in the files with multi-page content.
- Verify the scroll-bar operation for up, down, left and right direction.
- Check if the mouse properties are possible to change using system operations.
These are some of the test cases that I can think of. There are many other specific test cases that can be made based on the type, company of the device. Feel free to let me know if you have any other test cases in mind. I’d be happy to add these test cases in above list.
Let me know your comments and suggestions below. 🙂