Pendrive Test cases

In this article, I am going to write test cases for Pendrive. It sounds a little surprising, but we can write test cases for almost everything we see around us.

But, what is the purpose of asking or writing the test cases for a Pendrive? Writing the test cases is to validate the product functionality as per the business’s specifications, and it is not limited to only software products. It can be any product the company offers to a customer. So as a software quality analyst, we have to validate the product’s functionality no matter whether it is a software product or a physical device like Pendrive.

UI(USER INTERFACE) TEST CASES:

Sl.NoTest Cases
1.Verify the specifications of the Pendrive (L*W*H)
2.Verify the color of the Pendrive
3.Verify the Pendrive casing (steel/plastic body)
4.Verify the Hardware interface of the Pendrive (Type c or USB 2.0 port etc)

FUNCTIONAL TEST CASES:

Sl.NoTest Cases
1.Verify the compatibility with different laptops and CPUs
2.Verify the OS compatibility and check the OS is able to read it automatically.
3.Verify the Flash Memory (e.g 8GB, 64GB, etc.) of the Pendrive
4.Verify the Memory Type (e.g DDR3 SDRAM) of the Pendrive.
5.Verify the Pendrive on insertion to any laptops/CPUs gets mounted automatically.
6.Write/read in/from the Pendrive and verify the writing and reading operations are working. (eg directly playing a video from Pendrive or writing in a note in the Pendrive.)
7.Copy from Pendrive to the local machine and verify the data is usable.
8.Copy from local machine to Pendrive and verify the data is usable.
9.Verify the read/Write of different format of files like doc, mp3, mp4, gif, jpeg, etc
10.Write password protected files in the Pendrive and verify the data can be retrieved after removal and reinsertion.
11.Verify the formatting of the Pendrive.
12.Verify the data can be written till the full space is occupied.
13.Verify on the deletion of data, the free space is available to write.
14.Verify a full Pendrive can be read by OS.
15.Verify the mount point can be changed manually.
16.Change the format of the Pendrive (e.g. ext4 xfs) and verify the Pendrive is readable and writable.
17.Verify a Pendrive formatted for mac os can be read from windows/Linux os and vice-versa.
18.Verify all the options available on right-click for the Pendrive.
19.Verify the safely remove operation.
20.Verify in-use Pendrive can’t be removed safely.
21.Verify the transfer from one Pendrive to other drives/Pendrive.
22.If the automatic backup on the cloud is available, verify the backup on the cloud.
23.If the Pendrive supports the encryption, Verify the data stored is encrypted.
24.If the Pendrive is password-protected, verify the data can be read/write only after providing the password.

EDGE CASE SCENARIOS /STRESS TESTING:

Sl.NoTest Cases
1.Insert and remove the Pendrive 1000 times and check the pins. Pins should not be worn out and still be usable.
2.Read/Write continuously and verify the Pendrive doesn’t get too much heated.
3.Verify the speed of reading/writing.
4.Remove the Pendrive while writing data into it and verify the existing data is not corrupted.
5.Copy a corrupt data in the Pendrive and verify the other data are still readable.
6.Copy a corrupt data in the Pendrive and verify writing and retrieval of other data is still possible.