Amazon Interview Question
Quality Assurance EngineersCountry: India
Interview Type: In-Person
Questions to the interviewer
1. Is the pen drive USB 2.0 or 3.0 compatible
2. Size (storage) of the pen drive
3. Does it have an LED indicator
4. What are the other features available?
5. MTBF
I can think of some more cases.
Performance:
1. Validate the read throughput as per spec
2. Validate the write throughput as per spec
3. Repeat 1 and 2 for various file sizes and measure the numbers
4. Check the durability of the pen drive.
Cosmetics and conformance:
1. Validate if the size of the pen drive is as per reqmt spec
2. Validate if the shape of the pen drive is as per reqmt spec
3. Validate if the logo, model numbers of the pen drive is mentioned as per reqmt spec
Functionality:
1. Validate on all possible OSes
2.On older OSes like windows 98, pen drive needs driver to be installed, check if proper drivers are available for it and there needs to be validation done for them as well.
3. Validate if the pen drive works on (non computer) devices like TVs, Music systems etc (This is a nice to have test, as long as the pen drive is USB complaint we need not get to greater details)
Help and Support:
1. The pen drive should have proper help and support docs, these docs are needing to be validated for correctness
Durability:
1. The pen drive needs to be tested for durability like drop tests
Divide into several categories:
1. UI
a. look and feel
b. Indicators
c. Size, holding area, cap, fitting socket and other carrying accessories
d. Color, logo, text indicating the size etc
Functioality
a. Connectivity with various configurations, Operating Systems
b. Showing size correctly
c. Formatting options
d. Standard copy/paste operations
e. USB 1.0, 2.0 and 3.0 operations
f. Speed at which the read/writes are performed
g. Size calculations
h. formatting (high/low)
i. file system support (NTFS, FAT)
j. parallel copy
k - read/write operations together from pendrive/disk
l - data Xfer between pen drives
m- copying various type of data, text, image, movies, small, medium, large, huge, password protected, unsecure etc
n - running applications installed on system on the device (like scan/fix)
Exception handling
1. Entering more data than size to see how data is saved.
2. Taking out device mid way
3. Without ejecting, taking the device outside.
Accessibility
a. access to the logged in users
b. setting up various permission levels
c. Setting up access on folders/subfolders etc.
Security
Compatibility
Negative
1. USB Port is working/ corrupted.
2. USB Port is blocked?
3. USB is corrupted
4. No space left in the pendrive.
Positive
1. USB gets detected on iserting the pendrive.
2. USB is seen in the list of removable drives in My computer
3. USB can be ejected
4. USB folder can be opened on double click
5. Autoplay folder is seen.
6. Folder can be copy pasted/ moved/ deleted.
7. Connect the USB to another device the copied folder should be seen.
7. Sub Folders can be created inside sub folders.
8. USB can be scanned for viruses
9. USB can be protected with a password.
10. USB folders can be given read write permissions.
11. USB folder can be shared in a network.
12. Validation should be given if user tries to copy a folder which is bigger than the available space.
13. If the USB has no space no new folder should be allowed to be copied.
14. USB drive can be formatted.
15. USB can be given a custom name.
16. Time taken for USB to be detected.
17. Special character like *,&%$#!@ should not be allowed in the folder name.
18. Data transfer between two external devices should be allowed. For Eg: Pendrive to mobile memory card, Pendrive -> Another pendrive
Test Area 1: Detection
Test cases: pendrive should be detected in desktop, laptop, tv etc
Test Area 2: Read
Test cases: user should be able to read files from pendrive in different systems
Test Area 3: Write
Test cases: user should be able to write files to pendrive, disconnect and reconnect and written files should be present
Test Area 4:Max capacity
Test cases: write should not exceed max capacity, files sizes in pendrive should be less than max
Note : Here i am assuming the generic functionalities of pen drive, but it would be good if yiu can clarify the functionalities from the interviewer before writing test cases.
- KhadarBasha S February 14, 2014Test Case1:
Objective : To test the drivers functionality of the pendrive.
Steps:
1.Connect the pendrive to the system.
2.Check the connected device info (In case of windows open the my computer or device manager, but in case of linux check /media folder)
Exp result :
Pendrive must be visible in the devices info.
Test Case 2:
Objective : To test the copy functionality of the pendrive.
Assumption: test folder is present in the computer and it's size is below the maximum memory size of the pendrive.
Steps:
1. Connect the pendrive to the system.
2. Open the pendrive. copy test folder from system to pendrive.
4. Open the pendrive check the folders present in the pendrive.
5. Remove the pendrive from computer
6. Now again connect the pendrive to the system and check the files present in pendrive.
Exp result :
After Step 3, Step 6 test folder must present in the Pendrive.
Test Case3:
Objective : To test the maximum allowed memory functionality of the pendrive.
Assumption:
1. test1 folder is present in the computer and it's size is exactly equal to the maximum allowed size of the pendrive.
2. test2 folder is present in the computer and it's size is exactly equal to the maximum allowed size of the pendrive.
Steps:
1. Connect the pendrive to the system.
2. Open the pendrive. copy test1 folder from system to pendrive.
3. Now copy test2 folder from system to pendrive.
4. Remove the pendrive from computer
5. Now again connect the pendrive to the system and check the files present in pendrive.
Exp result :
After Step 3 user must get some error message like “No more space”.
After Step 5 test1 folder must be present in the pendrive and test2 folder must not be present in the pendrive.
Test Case 4:
Objective : To test the parallel copy functionality of the pendrive
Assumption:
test1,test2 folders are present in the computer and their total size are below the maximum allowed memory size of the pendrive.
Steps:
1. Connect the pendrive to the system.
2. Open the pendrive. copy test1 folder from system to pendrive.
3. While test1 folder is copying now in parallel copy test2 folder from system to pendrive.
4. Remove the pendrive from computer
5. Now again connect the pendrive to the system and check the files present in pendrive.
Exp result :
After Step 5 both test1 and test2 folders must be present in the pendrive.
Test Case 5:
Objective : To test the copy functionality of pendrive in case of device interuption.
Assumption:
1.test1 folder is present in the computer and it's size is exactly equal to the maximum allowed size of the pendrive.
2.test1 folder contain 5 files namely file1, file2, file3, file4, file5.
Steps:
1. Connect the pendrive to the system.
2. Open the pendrive. copy test1 folder from system to pendrive, once after completion of file 3 copy forcefully disconnect the pendrive from system.
4. Remove the pendrive from computer
5. Now again connect the pendrive to the system and check the files present in pendrive.
Exp result :
After Step 5 test1 folder must be present in the pendrive and it must contain file1, file2, file3 files.
I have covered very few test cases, similarly we can extend the idea of writing cases for other functionality. Suggestions are highly appreciated.