In this post, I am going to explain the test cases for computer keyboard. Most of the interviewers often ask the test cases related to the computer accessories.
Keyboard and Mouse test cases are quite often asked. As I have already covered the test cases related to mouse, this post will focus on keyboard. We assume this keyboard to be PS/2 or USB powered. There are also wireless or bluetooth based keyboard but we are going to skip those models for the sake of simplicity.
Few more things to note for our manual test.
- USB or PS/2 Input
- 104 Keys.
- QWERTY-based layout
- US-Layout
- 12 Function Keys
- Windows Key
- Windows Menu Key
- Fn Key (Function Key)
- Audio Key
- Insert Key
- Escape Key
- Page up and Down Key
- End KEY
- Print Screen Key
That being set, here are some of the test cases for our keyboard.
- Check the type of keyboard – PS/2 or USB.
- Confirm the layout of the keyboard.
- Check the number of keys as per specification.
- Check the specific function keys on the board.
- Check the color of the keyboard.
- Check the pressing of each key and confirm if it’s functional or not.
- Check if the keyboard is plugged on properly.
- Check if the keyboard is detected by operating system.
- Check if USB keyboard can be removed and plugged on again during session of desktop.
- Check if the USB keyboard requires additional drivers for keyboard functioning.
- Check if the current keyboard is multimedia one or not.
- Check the functionality of function keys.
- Check the functionality of QWERTY keys on the board.
- Check the ctrl key.
- Check the alt key.
- Check windows specific keys like Windows menu key and Windows Logo key.
- Check if the fn key is functional or not.
- Check the page up and page down keys.
- Verify the functionality of caps lock key.
- Verify the functionality of Tab key.
- Verify the functionality of shift keys.
- Verify the functionality of enter key.
- Verify the functionality of backspace key.
- Verify the functionality of arrow keys.
- Verify the functionality of arithmetic symbols like -, +, ?, > or <, { or }.
- Verify the functionality of tilde or hyphen key.
- Verify the functionality of End key.
- Verify the functionality of home key.
- Verify the functionality of delete key.
- Check if the printscr key works by taking screenshot on your desktop.
- Check the functionality of insert button.
- Check if the audio volume can be muted or reduced using audio key.
- Check the functionality of escape key.
- Check the functionality of colon key.
- Check the functionality of quote key.
- Check the functionality of backspace key.
- Verify the functionality of numslock key.
- Verify the combination of CTRL, ALT and Del works on windows.
- Verify if the shift and function key combination works.
- Verify the combination of alt+tab works as expected on windows.
- Check pressing on windows key opens the start menu.
- Check pressing on menu key opens context menu for application or in general to that of windows.
- Check key combination of ctrl+c works on text editor.
- Check key combination of ctrl+v works on text editor.
- Check key combination of ctrl+s works on text editor.
- Check key combination alt+f4 works to close the windows application.
These are some of the test cases that I can think of while testing the keyboard as per our given specifications. You can come up with more positive and negative test cases for the above tests. I hope this helps you during interview or while improving your own ability to write effective test cases. Feel free to let me know your opinion and suggestions on my sample test cases series. 🙂